Commit f5b4f7e9 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Fix parameter processing in parse_multiinfo_args()

Fixes a regression introduced in 94aeead4

 (aurjson: Pass http_data array
to all functions, 2015-06-28).

Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent c7fc6e6d
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment