summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-05-18 12:17:26 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-05-18 12:19:29 +0200
commitcf6470803e5a1ce8669d50991b50ebec9bed50bf (patch)
tree30d9197ccb9149e35585b21eadd5548b6d490a4f /web
parentbc93e68dc7ec5181e931816ae34f9cc6bceb1b90 (diff)
downloadaur-cf6470803e5a1ce8669d50991b50ebec9bed50bf.tar.gz
aur-cf6470803e5a1ce8669d50991b50ebec9bed50bf.tar.xz
aurjson: Fix multiinfo when using package IDs
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web')
-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 50d859c5..983e7512 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -334,7 +334,7 @@ class AurJSON {
$where_condition = "";
if ($ids) {
$ids_value = implode(',', $args['ids']);
- $where_condition .= "ID IN ($ids_value) ";
+ $where_condition .= "Packages.ID IN ($ids_value) ";
}
if ($ids && $names) {
$where_condition .= "OR ";