Merge remote-tracking branch 'origin/pr-255'

Fix #254: Creating default domains for new members fails #255
This commit is contained in:
Benjamin Sonntag 2018-06-22 08:32:48 +02:00
commit 6e9c3c3c63
1 changed files with 1 additions and 1 deletions

View File

@ -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;