bug fix: sub admin were proposed to install hosting_tld for new user, but the domain creation silently failed
This commit is contained in:
parent
5d3dfb2a11
commit
1b73dff3a5
|
@ -522,7 +522,7 @@ class m_admin {
|
|||
}
|
||||
|
||||
// Check if this domain exist on this admin account
|
||||
if (!in_array($domain_name, $dom->enum_domains())) {
|
||||
if ((!in_array($domain_name, $dom->enum_domains()))&&($domaine_name!=variable_get("hosting_tld"))) {
|
||||
$err->raise("admin", _("You don't seem to be allowed to delegate this domain"));
|
||||
$err->log("admin", "add_shared_domain", "domain not allowed");
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue