Browse Source

changePackage - try to get domainId by name

andre 2 years ago
parent
commit
5b8fbc7bac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/KerioWhmcs.php

+ 1 - 1
api/KerioWhmcs.php

@@ -96,7 +96,7 @@ class KerioWhmcs extends KerioConnectApi {
 		$params = array(
 			'query' => array(
 				'fields' => 'id',
-				'where' => array(
+				'conditions' => array(
 					'name' => $domain
 				)
 			)