summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-02-19 16:28:02 +0100
committerSimo Leone <simo@archlinux.org>2008-03-23 09:04:16 +0100
commit541ea8aaccfcc4f2ee149288bf07645a0782b24b (patch)
tree36d4f765b1ba6b4693b3bb57ddd38cb1594ccf27
parent9a4ca4e62c798d19d847b0d01a0885f5d4fffdcc (diff)
downloadaur-541ea8aaccfcc4f2ee149288bf07645a0782b24b.tar.gz
aur-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>
-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 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));
}