fix per blog settings

master
Jean-Christian Paul Denis 2023-08-20 11:24:37 +02:00
parent 0b0899fe7b
commit 7f0cae3b8f
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 2 deletions

View File

@ -97,8 +97,7 @@ class Settings
$s = My::settings(); $s = My::settings();
if (!is_null($s) && property_exists($this, $key) && settype($value, gettype($this->{$key})) === true) { if (!is_null($s) && property_exists($this, $key) && settype($value, gettype($this->{$key})) === true) {
$s->drop($key); $s->put($key, $value, gettype($this->{$key}));
$s->put($key, $value, gettype($this->{$key}), '', true, true);
return true; return true;
} }