fix write settings
This commit is contained in:
parent
fdd0a93193
commit
e49aeb7fdb
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ class Config extends dcNsProcess
|
||||||
$s = new Settings();
|
$s = new Settings();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
foreach ($s->listSettings() as $key) {
|
foreach ($s->listSettings() as $key => $value) {
|
||||||
$s->writeSetting($key, $_POST['ts_' . $key] ?? '');
|
$s->writeSetting($key, $_POST['ts_' . $key] ?? $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
dcPage::addSuccessNotice(
|
dcPage::addSuccessNotice(
|
||||||
|
|
Loading…
Reference in a new issue