A free open source IT asset/license management system
More component names :(
snipe1ac0db3d0c42
diff --git a/app/Http/Controllers/GroupsController.php b/app/Http/Controllers/GroupsController.phpindex ec5a64fa84..a1c568471e 100755--- a/app/Http/Controllers/GroupsController.php+++ b/app/Http/Controllers/GroupsController.php@@ -109,7 +109,7 @@ class GroupsController extends Controller$selected_array = Helper::selectedPermissionsArray($permissions, $groupPermissions);- // Only the ids are needed. The checkbox-list component seeds its+ // Only the ids are needed. The select2-checkboxes-scrollbox component seeds its// hidden CSV from this and loads the row text/image from the// selectlist endpoint as the user scrolls.$associated_user_ids = $group->users()->where('show_in_list', 1)->pluck('users.id')->all();diff --git a/app/Http/Controllers/Users/UsersController.php b/app/Http/Controllers/Users/UsersController.phpindex 5fd9f37817..036c09c2b1 100755--- a/app/Http/Controllers/Users/UsersController.php+++ b/app/Http/Controllers/Users/UsersController.php@@ -203,7 +203,7 @@ class UsersController extends Controller/*** Normalize the groups form input to an int array of group ids.* The legacy user form posted groups[] as separate inputs (one per- * selected group). The scrolling checkbox-list on the new form+ * selected group). The scrolling select2-checkboxes-scrollbox on the new form* posts a single hidden CSV, matching the groups-edit pattern.* Accept both shapes so other callers (API, cloning, legacy* clients) keep working.