mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -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)
|
public function postBulkEdit(Request $request)
|
||||||
{
|
{
|
||||||
$this->authorize('update', User::class);
|
$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');
|
return redirect()->back()->with('error', 'No users selected');
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue