From f39e72d58a846e29b5c6099c1f2c44fca18a73a0 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Fri, 8 Jun 2018 14:32:01 -0400 Subject: [PATCH] Fixes #243: Fix typo in domain_name variable --- 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..3eeaa8c8 100644 --- a/bureau/class/m_admin.php +++ b/bureau/class/m_admin.php @@ -552,7 +552,7 @@ class m_admin { $dom->lock(); // option : 1=hébergement dns, 1=noerase, empeche de modifier, 1=force // we do not allow DNS modification for hosting_tld - $dns=($domaine_name==variable_get("hosting_tld")) ? 0 : 1; + $dns=($domain_name==variable_get("hosting_tld")) ? 0 : 1; $dom->add_domain($mem->user['login'] . "." . $domain_name, $dns, 1, 1); $dom->unlock(); $mem->unsu();