From d0c44757e7c295c157ad076c731b00ffbb74243d Mon Sep 17 00:00:00 2001 From: Shlee Date: Sat, 14 May 2022 19:27:04 +0930 Subject: [PATCH] Update AdminController.php --- app/Http/Controllers/AdminController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/AdminController.php b/app/Http/Controllers/AdminController.php index d8308873..8cacd6fb 100644 --- a/app/Http/Controllers/AdminController.php +++ b/app/Http/Controllers/AdminController.php @@ -120,7 +120,7 @@ class AdminController extends Controller public function appsHome(Request $request) { $filter = $request->input('filter'); - if(in_array($filter, ['revoked'])) { + if($filter == 'revoked') { $apps = OauthClient::with('user') ->whereNotNull('user_id') ->whereRevoked(true)