From 1e75b04cee4880f03122903d3d3f370d13644007 Mon Sep 17 00:00:00 2001 From: Ferrisx4 Date: Sat, 22 Jun 2019 11:44:01 -0400 Subject: [PATCH] fix variable name typo --- src/Groups.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Groups.inc b/src/Groups.inc index c089a3f..ccbc073 100644 --- a/src/Groups.inc +++ b/src/Groups.inc @@ -148,10 +148,10 @@ class GalaxyGroups extends GalaxyAPIService { $URL = $this->galaxy->getURL() . '/api/groups/' . $params['group_id'] . '/?key=' . $this->galaxy->getAPIKey(); if (array_key_exists('user_ids', $params)) - $params['user_ids'] = json_encode($user_ids); + $params['user_ids'] = json_encode($params['user_ids']); if (array_key_exists('role_ids', $params)) - $params['role_ids'] = json_encode($role_ids); + $params['role_ids'] = json_encode($params['role_ids']); $response = $this->galaxy->httpPUT($URL, $params); return $response;