Fixed #8613 - 500 error on deleted users API call

This commit is contained in:
snipe 2020-10-26 14:55:18 -07:00
parent b7e8b9bad7
commit b9330cf6b1

View file

@ -67,7 +67,7 @@ class UsersController extends Controller
if (($request->filled('deleted')) && ($request->input('deleted')=='true')) {
$users = $users->GetDeleted();
$users = $users->onlyTrashed();
}
if ($request->filled('company_id')) {