Fix #254: Creating default domains for new members fails
A typo caused the check to see if domain delegation was allowed to always fail.
This commit is contained in:
parent
71ed8bf5f4
commit
ce80e3cdad
|
@ -539,7 +539,7 @@ class m_admin {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if this domain exist on this admin account
|
// 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->raise("ERROR", "admin", _("You don't seem to be allowed to delegate this domain"));
|
||||||
$msg->log("admin", "add_shared_domain", "domain not allowed");
|
$msg->log("admin", "add_shared_domain", "domain not allowed");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue