Merge branch '254-cannot_create_default_domains' into pu
This commit is contained in:
		
						commit
						ea9ecfcd50
					
				|  | @ -539,7 +539,7 @@ class m_admin { | |||
|         } | ||||
| 
 | ||||
|         // Check if this domain exist on this admin account
 | ||||
|         if ((!in_array($domain_name, $dom->enum_domains()))&&($domaine_name!=variable_get("hosting_tld"))) { | ||||
|         if ((!in_array($domain_name, $dom->enum_domains()))&&($domain_name!=variable_get("hosting_tld"))) { | ||||
|             $msg->raise("ERROR", "admin", _("You don't seem to be allowed to delegate this domain")); | ||||
|             $msg->log("admin", "add_shared_domain", "domain not allowed"); | ||||
|             return false; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue