Merge branch '243-fix_undefined_variable_domaine_name' into pu

This commit is contained in:
Kienan Stewart 2018-06-08 14:33:18 -04:00
commit 44e3cb0833
1 changed files with 1 additions and 1 deletions

View File

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