|
|
@@ -1185,7 +1185,7 @@ function cwp7CheckSOA($domain, $nameserverIP, $nameserverName ) {
|
|
|
*
|
|
|
* @see https://developers.whmcs.com/provisioning-modules/supported-functions/
|
|
|
*
|
|
|
- * @return bool true -> limit reached, false -> limit noch reached
|
|
|
+ * @return bool true -> limit reached, false -> limit not reached
|
|
|
*/
|
|
|
function cwp7CheckLimit($params, $type) {
|
|
|
$cwp7 = new cwp7_Admin($params['serverhostname'], $params['serveraccesshash']);
|
|
|
@@ -1195,7 +1195,7 @@ function cwp7CheckLimit($params, $type) {
|
|
|
__FUNCTION__,
|
|
|
$response,
|
|
|
'debug',
|
|
|
- $type
|
|
|
+ $response[$type]['sw']
|
|
|
);
|
|
|
if($response[$type]['sw'] < 1) {
|
|
|
return true;
|