Fixed #4844 - use input value for ids in user bulk edit

This commit is contained in:
snipe 2018-01-17 06:15:52 -08:00
parent 96a469db36
commit 91bca5fcba

View file

@ -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 {