Skip to content

Commit 5e67df7

Browse files
Update Language.php
1 parent f81a5cb commit 5e67df7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/Core/Language.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,16 @@ public function isValidLanguage(string $langCode): bool
169169
public function readIni(): array
170170
{
171171
if (Cache::store('installation')->has('cache.language_resources_' . $this->language) && $this->config->debug == 0) {
172-
$this->ini_array = Cache::store('installation')->set('cache.language_resources_' . $this->language, self::dispatch_filter(
172+
173+
$this->ini_array = self::dispatch_filter(
173174
'language_resources',
174175
Cache::store('installation')->get('cache.language_resources_' . $this->language),
175176
[
176177
'language' => $this->language,
177178
]
178-
));
179+
);
180+
181+
Cache::store('installation')->set('cache.language_resources_' . $this->language, $this->ini_array);
179182
return $this->ini_array;
180183
}
181184

0 commit comments

Comments
 (0)