aurjson: Fix multiinfo when using package IDs

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-05-18 12:17:26 +02:00
parent bc93e68dc7
commit cf6470803e

View file

@ -334,7 +334,7 @@ class AurJSON {
$where_condition = ""; $where_condition = "";
if ($ids) { if ($ids) {
$ids_value = implode(',', $args['ids']); $ids_value = implode(',', $args['ids']);
$where_condition .= "ID IN ($ids_value) "; $where_condition .= "Packages.ID IN ($ids_value) ";
} }
if ($ids && $names) { if ($ids && $names) {
$where_condition .= "OR "; $where_condition .= "OR ";