andre 2 anni fa
parent
commit
7704564ba9
1 ha cambiato i file con 10 aggiunte e 10 eliminazioni
  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;
         }