fix admin setting can not clear value

This commit is contained in:
xiaomlove
2022-09-18 17:40:07 +08:00
parent 47493b1a26
commit a9c734e45b

View File

@@ -58,9 +58,6 @@ class EditSetting extends Page implements Forms\Contracts\HasForms
$data = [];
foreach ($formData as $prefix => $parts) {
foreach ($parts as $name => $value) {
if (is_null($value)) {
continue;
}
if (in_array($name, $notAutoloadNames)) {
$autoload = 'no';
} else {