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

Fix #245: Files default to unwritable when permissions are changed in… #246
This commit is contained in:
Benjamin Sonntag 2018-06-21 17:44:17 +02:00
commit 8166ceb58f
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();