bugfixes
This commit is contained in:
parent
aa83dd1436
commit
96014dc222
@ -88,7 +88,9 @@ class LanguageService extends MediaService
|
|||||||
|
|
||||||
function setLanguageProperties(string $locale): void
|
function setLanguageProperties(string $locale): void
|
||||||
{
|
{
|
||||||
$cached = Cache::rememberForever($this->cacheKey, function () use ($locale) {
|
$cacheKey = "{$this->cacheKey}_{$locale}";
|
||||||
|
|
||||||
|
$cached = Cache::rememberForever($cacheKey, function () use ($locale) {
|
||||||
$language = Language::where('code', $locale)
|
$language = Language::where('code', $locale)
|
||||||
->with('properties')
|
->with('properties')
|
||||||
->first();
|
->first();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user