[aur-dev] [PATCH] Fix parameter processing in parse_multiinfo_args()
Lukas Fleischer
lfleischer at archlinux.org
Sat Oct 3 09:09:56 UTC 2015
Fixes a regression introduced in 94aeead (aurjson: Pass http_data array
to all functions, 2015-06-28).
Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
web/lib/aurjson.class.php | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php
index db9cc54..8ca028a 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);
}
--
2.6.0
More information about the aur-dev
mailing list