mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Fixed #8613 - 500 error on deleted users API call
This commit is contained in:
parent
b7e8b9bad7
commit
b9330cf6b1
|
@ -67,7 +67,7 @@ class UsersController extends Controller
|
||||||
|
|
||||||
|
|
||||||
if (($request->filled('deleted')) && ($request->input('deleted')=='true')) {
|
if (($request->filled('deleted')) && ($request->input('deleted')=='true')) {
|
||||||
$users = $users->GetDeleted();
|
$users = $users->onlyTrashed();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->filled('company_id')) {
|
if ($request->filled('company_id')) {
|
||||||
|
|
Loading…
Reference in a new issue