Kaynağa Gözat

debug clientarea

andre 2 yıl önce
ebeveyn
işleme
7704564ba9
1 değiştirilmiş dosya ile 10 ekleme ve 10 silme
  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()
     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;
             return $response;
         }
         }