From 1ef311262801888ef8d57ff86ad2b663bec12d4e Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 6 Feb 2023 12:43:35 -0800 Subject: [PATCH] FIxed yoda operator Signed-off-by: snipe --- app/Http/Controllers/SettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index 9a7c2cc7d5..d8f7ee3b64 100755 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -807,7 +807,7 @@ class SettingsController extends Controller */ public function getPhpInfo() { - if (true === config('app.debug')) { + if (config('app.debug') === true) { return view('settings.phpinfo'); }