update: config save

This commit is contained in:
tokumeikoi 2022-06-01 12:37:31 +08:00
parent 4a9e0ba94c
commit da2f942a28

View File

@ -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];
}
}