From a593fd54e2291655e41c61c6acaac5fb5a7ab0f8 Mon Sep 17 00:00:00 2001 From: Olivier Brunel Date: Sat, 3 Oct 2015 11:42:42 +0200 Subject: [PATCH] aurjson: Fix parsing args for multiinfo Changes in 94aeead4 made pass $http_data array to all functions, but in multiinfo() it was still $http_data['arg'] that was passed, always leading to an error ("Invalid query arguments"). Signed-off-by: Olivier Brunel --- web/lib/aurjson.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index db9cc54..8ccdbcf 100644 --- a/web/lib/aurjson.class.php +++ b/web/lib/aurjson.class.php @@ -407,8 +407,7 @@ class AurJSON { * @return mixed Returns an array of results containing the package data */ private function multiinfo($http_data) { - $pqdata = $http_data['arg']; - $args = $this->parse_multiinfo_args($pqdata); + $args = $this->parse_multiinfo_args($http_data); $ids = $args['ids']; $names = $args['names']; -- 2.5.3