|
|
@@ -172,16 +172,15 @@ class KerioWhmcs extends KerioConnectApi {
|
|
|
* @return array contact of user
|
|
|
*/
|
|
|
public function getContact($id) {
|
|
|
- $method = 'CompanyContacts.get';
|
|
|
+ $method = 'CompanyContacts.getAvailable';
|
|
|
|
|
|
-/* $params = array(
|
|
|
+ $params = array(
|
|
|
'id' => array(
|
|
|
$id,
|
|
|
)
|
|
|
);
|
|
|
$result = $this->sendRequest($method, $params);
|
|
|
- return $result; */
|
|
|
- return $this->sendRequest($method);
|
|
|
+ return $result;
|
|
|
}
|
|
|
|
|
|
/**
|