mirror of
https://github.com/v2board/v2board.git
synced 2025-07-09 07:09:17 +08:00
update: config save
This commit is contained in:
@ -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];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user