diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-02-19 10:28:02 -0500 |
---|---|---|
committer | Simo Leone <simo@archlinux.org> | 2008-03-23 03:04:16 -0500 |
commit | 541ea8aaccfcc4f2ee149288bf07645a0782b24b (patch) | |
tree | 36d4f765b1ba6b4693b3bb57ddd38cb1594ccf27 /web/lib/aurjson.class.php | |
parent | 9a4ca4e62c798d19d847b0d01a0885f5d4fffdcc (diff) |
Fixed a couple more lingering JSON bugs
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'web/lib/aurjson.class.php')
-rw-r--r-- | web/lib/aurjson.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index f358e64..ee3a181 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)); } |