From 2905458c43549768b218fdac019407e3cc0a2490 Mon Sep 17 00:00:00 2001 From: "Jehan-Guillaume (ioguix) de Rorthais" Date: Tue, 28 Feb 2012 15:56:33 +0100 Subject: [PATCH] Finish fix for #3468882 "UPDATE single row with varchar key: empty where clause", reported by "Dirk Kraemer" Same bug for the delete action... --- display.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/display.php b/display.php index 773b75f5..6e524112 100644 --- a/display.php +++ b/display.php @@ -209,13 +209,13 @@ echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; echo "\n"; } else { - $status = $data->deleteRow($_POST['table'], unserialize($_POST['key'])); + $status = $data->deleteRow($_POST['table'], unserialize(urldecode($_POST['key']))); if ($status == 0) doBrowse($lang['strrowdeleted']); elseif ($status == -2) -- 2.39.5