summaryrefslogtreecommitdiffstats
path: root/web/lib/aurjson.class.php
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-02-19 10:28:02 -0500
committerSimo Leone <simo@archlinux.org>2008-03-23 03:04:16 -0500
commit541ea8aaccfcc4f2ee149288bf07645a0782b24b (patch)
tree36d4f765b1ba6b4693b3bb57ddd38cb1594ccf27 /web/lib/aurjson.class.php
parent9a4ca4e62c798d19d847b0d01a0885f5d4fffdcc (diff)
downloadaurweb-541ea8aaccfcc4f2ee149288bf07645a0782b24b.tar.xz
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.php2
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));
}