Explorar o código

debug clientarea

andre %!s(int64=2) %!d(string=hai) anos
pai
achega
7704564ba9
Modificáronse 1 ficheiros con 10 adicións e 10 borrados
  1. 10 10
      app/Http/Client/Home.php

+ 10 - 10
app/Http/Client/Home.php

@@ -23,18 +23,18 @@ class Home extends AbstractClientController
 
     public function index()
     {
-        if ($this->getWhmcsParamByKey('status') === 'Active')
-        {
-            $response = Helper\view()->addElement(Dashboard::class);
 
-            logModuleCall(
-                'kerioEmail',
-                __FUNCTION__,
-                $this,
-                'Debug Home',
-                $response
-            );
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $this,
+            'Debug Home',
+            $this->getWhmcsParamByKey('status')
+        );
 
+    if ($this->getWhmcsParamByKey('status') === 'Active')
+        {
+            $response = Helper\view()->addElement(Dashboard::class);
             return $response;
         }