diff --git a/bureau/class/m_admin.php b/bureau/class/m_admin.php index 1e817c72..e3c2f0e4 100644 --- a/bureau/class/m_admin.php +++ b/bureau/class/m_admin.php @@ -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;