committing proposed patch, Fixes #1056
This commit is contained in:
parent
a5f92a26dd
commit
03f11b9e4b
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue