Ver Fonte

clientareafunctions

andre há 3 anos atrás
pai
commit
990153d8ef
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      cwp7.php

+ 2 - 2
cwp7.php

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