瀏覽代碼

edit Account

andre 2 年之前
父節點
當前提交
a99933a730
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      app/UI/Client/EmailAccount/Providers/EditAccountDataProvider.php

+ 5 - 5
app/UI/Client/EmailAccount/Providers/EditAccountDataProvider.php

@@ -38,18 +38,18 @@ class EditAccountDataProvider extends BaseDataProvider
          * hosting id
          * hosting id
          */
          */
         $hid = $this->getRequestValue('id');
         $hid = $this->getRequestValue('id');
+        /**
+         * load hosting
+         */
+        $hosting = Hosting::where('id', $hid)->first();
 
 
         logModuleCall(
         logModuleCall(
             'kerioEmail',
             'kerioEmail',
             __FUNCTION__,
             __FUNCTION__,
             $this->actionElementId,
             $this->actionElementId,
             'Debug Error',
             'Debug Error',
-            $hid
+            $hosting
         );
         );
-        /**
-         * load hosting
-         */
-        $hosting = Hosting::where('id', $hid)->first();
 
 
         /**
         /**
          * load api
          * load api