From ce80e3cdadccf2edda7050563ed91b7e9ad6a6ea Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Thu, 14 Jun 2018 10:50:28 -0400 Subject: [PATCH] Fix #254: Creating default domains for new members fails A typo caused the check to see if domain delegation was allowed to always fail. --- bureau/class/m_admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_admin.php b/bureau/class/m_admin.php index c16b8523..a457b4b3 100644 --- a/bureau/class/m_admin.php +++ b/bureau/class/m_admin.php @@ -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;