diff --git a/app/Http/Controllers/Admin/ConfigController.php b/app/Http/Controllers/Admin/ConfigController.php index 279383c4..073d102d 100755 --- a/app/Http/Controllers/Admin/ConfigController.php +++ b/app/Http/Controllers/Admin/ConfigController.php @@ -166,7 +166,7 @@ class ConfigController extends Controller public function save(ConfigSave $request) { - $data = $request->input(); + $data = $request->validated(); $array = \Config::get('v2board'); foreach ($data as $k => $v) { if (!in_array($k, array_keys($request->validated()))) {