properly edit subdomains when deactivating domains

This commit is contained in:
Antoine Beaupr�� 2014-07-03 18:12:43 +00:00
parent 20061c6bf8
commit 53fd6a98cb
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ foreach ($domains as $key => $domain) {
# 2.2 change the subdomain to redirect to http://spam.koumbit.org/
$dom->lock();
if (!$dom->set_sub_domain($domain, $sub, $dom->type_url, "edit", $redirect)) {
if (!$dom->set_sub_domain($domain, $sub, $dom->type_url, $redirect)) {
print "-- error in $sub.$domain: " . $err->errstr() . "\n";
}
$dom->unlock();