mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix admin setting can not clear value
This commit is contained in:
@@ -58,9 +58,6 @@ class EditSetting extends Page implements Forms\Contracts\HasForms
|
|||||||
$data = [];
|
$data = [];
|
||||||
foreach ($formData as $prefix => $parts) {
|
foreach ($formData as $prefix => $parts) {
|
||||||
foreach ($parts as $name => $value) {
|
foreach ($parts as $name => $value) {
|
||||||
if (is_null($value)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (in_array($name, $notAutoloadNames)) {
|
if (in_array($name, $notAutoloadNames)) {
|
||||||
$autoload = 'no';
|
$autoload = 'no';
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user