mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: config save
This commit is contained in:
parent
4a9e0ba94c
commit
da2f942a28
@ -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];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user