Fixed has to where

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-04-17 22:44:05 -07:00
parent 99cecee4b5
commit 087f0e596a

View file

@ -189,7 +189,7 @@ class UsersController extends Controller
}
if ($request->filled('autoassign_licenses')) {
$users->has('autoassign_licenses', '=', $request->input('autoassign_licenses'));
$users->where('autoassign_licenses', '=', $request->input('autoassign_licenses'));
}
if ($request->filled('search')) {