From a3d76ee5222904e048b0af1fc7055eca8eed28af Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 7 Apr 2022 23:52:55 -0600 Subject: [PATCH] Update AdminSettingsController --- app/Http/Controllers/Admin/AdminSettingsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/AdminSettingsController.php b/app/Http/Controllers/Admin/AdminSettingsController.php index a245997d8..6665335c0 100644 --- a/app/Http/Controllers/Admin/AdminSettingsController.php +++ b/app/Http/Controllers/Admin/AdminSettingsController.php @@ -121,7 +121,9 @@ trait AdminSettingsController $val = $request->input($key); if($cc && $cc->v != $val) { ConfigCacheService::put($value, $val); - } + } else if(!empty($val)) { + ConfigCacheService::put($value, $val); + } } $bools = [