committing proposed patch, Fixes #1056

This commit is contained in:
Benjamin Sonntag 2007-08-23 05:39:06 +00:00
parent a5f92a26dd
commit 03f11b9e4b
1 changed files with 1 additions and 1 deletions

View File

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