From 53fd6a98cb3645309dbbe4879a601619e01aecd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=EF=BF=BD=EF=BF=BD?= Date: Thu, 3 Jul 2014 18:12:43 +0000 Subject: [PATCH] properly edit subdomains when deactivating domains --- bureau/admin/adm_deactivate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/admin/adm_deactivate.php b/bureau/admin/adm_deactivate.php index 442410b0..ab71ed3e 100644 --- a/bureau/admin/adm_deactivate.php +++ b/bureau/admin/adm_deactivate.php @@ -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();