summaryrefslogtreecommitdiffstats
path: root/web/lib/aurjson.class.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-08-22 08:35:18 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-08-22 08:35:18 +0200
commite411ef1d809a98d14b494afdfc47b07962770684 (patch)
treeb80da096f59b97ebff5bfcd63caeaa187739a596 /web/lib/aurjson.class.php
parent114edd9ff82b3860e2ca4b68589d661ec6d5fe39 (diff)
parent53a31865f41db7315dc5c99e1b100f397ef80b1a (diff)
downloadaurweb-e411ef1d809a98d14b494afdfc47b07962770684.tar.xz
Merge branch 'maint'
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 277c824..b596359 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -203,7 +203,7 @@ class AurJSON {
// just using sprintf to coerce the pqd to an int
// should handle sql injection issues, since sprintf will
// bork if not an int, or convert the string to a number 0
- $where_condition = "ID={$pqdata}";
+ $where_condition = "Packages.ID={$pqdata}";
}
else {
$where_condition = sprintf("Name=\"%s\"",