diff --git a/app/Http/Controllers/Admin/ConfigController.php b/app/Http/Controllers/Admin/ConfigController.php index 0c08bd01..18f6852f 100755 --- a/app/Http/Controllers/Admin/ConfigController.php +++ b/app/Http/Controllers/Admin/ConfigController.php @@ -177,7 +177,7 @@ class ConfigController extends Controller unset($config[$k]); continue; } - if (isset($data[$k]) && !is_null($data[$k])) { + if (array_key_exists($k, $data)) { $config[$k] = $data[$k]; } }