From 541ea8aaccfcc4f2ee149288bf07645a0782b24b Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Tue, 19 Feb 2008 10:28:02 -0500 Subject: Fixed a couple more lingering JSON bugs Signed-off-by: Loui Chang Signed-off-by: Simo Leone --- web/lib/aurjson.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index f358e64b..ee3a1811 100644 --- a/web/lib/aurjson.class.php +++ b/web/lib/aurjson.class.php @@ -121,7 +121,7 @@ class AurJSON { } else { if(get_magic_quotes_gpc()) { - $pqd = stripslashes($pqdata); + $pqdata = stripslashes($pqdata); } $query_stub = sprintf("Name=\"%s\"",mysql_real_escape_string($pqdata)); } -- cgit v1.2.3-24-g4f1b