Browse Source

edit Account

andre 2 years ago
parent
commit
128c10ff41

+ 1 - 1
api/KerioWhmcs.php

@@ -133,7 +133,7 @@ class KerioWhmcs extends KerioConnectApi {
 					'direction' => 'Asc'
 				))
 			),
-//			'domainId' => $domainId
+			'domainId' => $domainId
 		);
 
 		if ($conditions) {

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

@@ -64,7 +64,7 @@ class EditAccountDataProvider extends BaseDataProvider
 
         try {
             $api->login($this->getWhmcsParamByKey('serverhostname'), $this->getWhmcsParamByKey('serverusername'), $this->getWhmcsParamByKey('serverpassword'));
-            $account = $api->getUsers($fields,'',$cond);
+            $account = $api->getUsers($fields,'');
             $address = $api->getAddress($this->actionElementId);
         } catch (KerioApiException $error) {
             logModuleCall(