From 91bca5fcbaa2265c0bca76b7d7acdb8c58180743 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 17 Jan 2018 06:15:52 -0800 Subject: [PATCH] Fixed #4844 - use input value for ids in user bulk edit --- app/Http/Controllers/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/UsersController.php b/app/Http/Controllers/UsersController.php index 489f9829fa..2303da761a 100755 --- a/app/Http/Controllers/UsersController.php +++ b/app/Http/Controllers/UsersController.php @@ -431,7 +431,7 @@ class UsersController extends Controller public function postBulkEdit(Request $request) { $this->authorize('update', User::class); - if ((!Input::has('ids')) || (count(Input::has('ids')) == 0)) { + if ((!Input::has('ids')) || (count(Input::input('ids')) == 0)) { return redirect()->back()->with('error', 'No users selected'); } else {