|
@@ -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
|
|
|
);
|
|
);
|