diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-10-03 11:07:39 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-10-03 11:07:39 +0200 |
commit | f5b4f7e996a095dbc04305cb32a89c700f585acd (patch) | |
tree | d579e82d2b9d382b4db7c6ddded1f7de287da3e0 /web/lib/aurjson.class.php | |
parent | c7fc6e6d33749f0a4cbf25f328f2f695905a91c1 (diff) | |
download | aur-f5b4f7e996a095dbc04305cb32a89c700f585acd.tar.gz aur-f5b4f7e996a095dbc04305cb32a89c700f585acd.tar.xz |
Fix parameter processing in parse_multiinfo_args()
Fixes a regression introduced in 94aeead (aurjson: Pass http_data array
to all functions, 2015-06-28).
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/aurjson.class.php')
-rw-r--r-- | web/lib/aurjson.class.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index db9cc547..8ca028ae 100644 --- a/web/lib/aurjson.class.php +++ b/web/lib/aurjson.class.php @@ -324,12 +324,11 @@ class AurJSON { * IDs and package names are valid; sort them into the relevant arrays and * escape/quote the names. * - * @param array $http_data Query parameters. + * @param array $args Query parameters. * * @return mixed An array containing 'ids' and 'names'. */ - private function parse_multiinfo_args($http_data) { - $args = $http_data['arg']; + private function parse_multiinfo_args($args) { if (!is_array($args)) { $args = array($args); } |