andre пре 2 година
родитељ
комит
ae53c3412a
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      app/UI/Client/EmailAccount/Providers/EditAccountDataProvider.php

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

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