|
|
@@ -477,7 +477,7 @@ function cwp7_delSubdomain($params) {
|
|
|
$response
|
|
|
);
|
|
|
}
|
|
|
- $subdomains = $response['result']['subdomains'];
|
|
|
+ $subdomains = $response['result']['subdomins'];
|
|
|
$clientsubdomains = array();
|
|
|
foreach($subdomains as $subdomain){
|
|
|
if($subdomain['domain'] != $params['domain']) {
|
|
|
@@ -490,7 +490,7 @@ function cwp7_delSubdomain($params) {
|
|
|
__FUNCTION__,
|
|
|
$_POST['d'],
|
|
|
'debug custom',
|
|
|
- $response
|
|
|
+ $subdomains
|
|
|
);
|
|
|
|
|
|
if(!in_array($_POST['d'], $clientsubdomains)) {
|