andre %!s(int64=2) %!d(string=hai) anos
pai
achega
7fbfed08bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Actions/UsageUpdate.php

+ 1 - 1
app/Http/Actions/UsageUpdate.php

@@ -64,7 +64,7 @@ class UsageUpdate extends AddonController
                 }
                 }
 
 
                 $storage = $totalUsage == 0 ? 0 : round($totalUsage);
                 $storage = $totalUsage == 0 ? 0 : round($totalUsage);
-                $serverId =$params['serverid'];
+                $serverId = $params['serverid'];
 
 
                 Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['bwusage' => $mailboxes]);
                 Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['bwusage' => $mailboxes]);
                 Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['diskusage' => $storage]);
                 Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['diskusage' => $storage]);