diff --git a/bureau/admin/adm_doadd.php b/bureau/admin/adm_doadd.php index 13dad2fe..d90c85cf 100644 --- a/bureau/admin/adm_doadd.php +++ b/bureau/admin/adm_doadd.php @@ -63,7 +63,7 @@ if (!($u=$admin->add_mem($login, $pass, $nom, $prenom, $nmail, $canpass, $type)) if (variable_get("hosting_tld")) { # make sure we don't have multiple dots there $dom->lock(); - $dom->add_domain($login.".".preg_replace("/^\.\.*/", "", variable_get("hosting_tld")),0,1,1); + $dom->add_domain($login.".".preg_replace("/^\.\.*/", "", variable_get("hosting_tld")),1,1,1); $dom->unlock(); } else { $err->log("no 'hosting_tld' variable defined in `variables` table, not creating domain");