fix write settings

master
Jean-Christian Paul Denis 2023-04-29 10:52:52 +02:00
parent fdd0a93193
commit e49aeb7fdb
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ class Config extends dcNsProcess
$s = new Settings();
try {
foreach ($s->listSettings() as $key) {
$s->writeSetting($key, $_POST['ts_' . $key] ?? '');
foreach ($s->listSettings() as $key => $value) {
$s->writeSetting($key, $_POST['ts_' . $key] ?? $value);
}
dcPage::addSuccessNotice(