Browse code

fixed logfile string

Bernd Wurst authored on23/02/2018 14:14:37
Showing1 changed files
... ...
@@ -187,7 +187,7 @@ function api_cancel_domain($domainname)
187 187
         system_failure("Konnte Vertragsende nicht herausfinden.");
188 188
     }
189 189
     $args = array("domainName" => $domainname, "execDate" => $apidomain['latestDeletionDateWithoutRenew']);
190
-    logger(LOG_WARNING, "modules/domains/include/domainapi", "domains", "cancel domain »{$newdomainname}« at time {$apidomain['latestDeletionDateWithoutRenew']}");
190
+    logger(LOG_WARNING, "modules/domains/include/domainapi", "domains", "cancel domain »{$domainname}« at time {$apidomain['latestDeletionDateWithoutRenew']}");
191 191
     $result = api_request('domainDelete', $args);
192 192
     if ($result['status'] == 'error') {
193 193
         $errstr = $result['errors'][0]['text'];