summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));
}