mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +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]);
|
unset($config[$k]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (isset($data[$k]) && !is_null($data[$k])) {
|
if (array_key_exists($k, $data)) {
|
||||||
$config[$k] = $data[$k];
|
$config[$k] = $data[$k];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user