From 36efb04f86678b9fa1ebe07149ef585789541281 Mon Sep 17 00:00:00 2001 From: "Florian Aders (EleRas)" Date: Wed, 16 Jun 2010 12:34:22 +0000 Subject: [PATCH] Stupid bug-- --- admin_customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_customers.php b/admin_customers.php index f32a1082..a7cfca87 100644 --- a/admin_customers.php +++ b/admin_customers.php @@ -196,7 +196,7 @@ if($page == 'customers' // Delete all waiting "create user" -tasks for this user, #276 // Note: the WHERE selects part of a serialized array, but it should be safe this way - $db->query("DELETE FROM `" . TABLE_PANEL_TASKS . "` WHERE `type` = '2' AND `data` LIKE = '%;\"" . $db->escape($result['loginname']) . "\"%;';"); + $db->query("DELETE FROM `" . TABLE_PANEL_TASKS . "` WHERE `type` = '2' AND `data` LIKE '%;\"" . $db->escape($result['loginname']) . "\"%;';"); // remove everything APS-related, #216 $apsresult = $db->query("SELECT `ID` FROM `".TABLE_APS_INSTANCES."` WHERE `CustomerID`='".(int)$id."'");