Jelajahi Sumber

edit Account

andre 2 tahun lalu
induk
melakukan
b3cbb6c31b

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

@@ -64,8 +64,8 @@ class EditAccountDataProvider extends BaseDataProvider
 
         try {
             $api->login($this->getWhmcsParamByKey('serverhostname'), $this->getWhmcsParamByKey('serverusername'), $this->getWhmcsParamByKey('serverpassword'));
-//            $domainID = $api->getDomainId($)
-            $account = $api->getUsers($fields,'');
+            $domainID = $api->getDomainId($this->getWhmcsParamByKey('customfields')['maildomain']);
+//            $account = $api->getUsers($fields,'');
             $address = $api->getAddress($this->actionElementId);
         } catch (KerioApiException $error) {
             logModuleCall(
@@ -82,7 +82,7 @@ class EditAccountDataProvider extends BaseDataProvider
         logModuleCall(
             'kerioEmail',
             __FUNCTION__,
-            $params,
+            $domainID,
             'Debug Error',
             $address
         );