mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fixed #4844 - use input value for ids in user bulk edit
This commit is contained in:
parent
96a469db36
commit
91bca5fcba
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue