From 7f0cae3b8f42ca4fb7c73e5dbba2072ed0e34e8e Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 20 Aug 2023 11:24:37 +0200 Subject: [PATCH] fix per blog settings --- src/Settings.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Settings.php b/src/Settings.php index d493287..0214508 100644 --- a/src/Settings.php +++ b/src/Settings.php @@ -97,8 +97,7 @@ class Settings $s = My::settings(); if (!is_null($s) && property_exists($this, $key) && settype($value, gettype($this->{$key})) === true) { - $s->drop($key); - $s->put($key, $value, gettype($this->{$key}), '', true, true); + $s->put($key, $value, gettype($this->{$key})); return true; }