Upgrade to 3.8.2
This commit is contained in:
@@ -35,11 +35,8 @@ return [
|
||||
$code = $this->user()?->language() ??
|
||||
$this->kirby()->panelLanguage();
|
||||
|
||||
if ($translation = $this->kirby()->translation($code)) {
|
||||
return $translation;
|
||||
}
|
||||
|
||||
return $this->kirby()->translation('en');
|
||||
return $this->kirby()->translation($code) ??
|
||||
$this->kirby()->translation('en');
|
||||
},
|
||||
'kirbytext' => fn () => $this->kirby()->option('panel.kirbytext') ?? true,
|
||||
'user' => fn () => $this->user(),
|
||||
|
Reference in New Issue
Block a user