diff --git a/src/Setting/Setting.php b/src/Setting/Setting.php index 4dbd014..78f13e8 100644 --- a/src/Setting/Setting.php +++ b/src/Setting/Setting.php @@ -154,7 +154,9 @@ private function setByKey($key, $value) Storage::store($main_key, $value, $this->lang); } - Cache::forget($main_key); + if (Cache::has($main_key.'@'.$this->lang)) { + Cache::forget($main_key.'@'.$this->lang); + } } private function hasByKey($key)