Bugfix: undefined $aKey

This commit is contained in:
djmaze 2021-07-28 15:23:09 +02:00
parent e0106a6e52
commit 7ca666f777

View file

@ -114,7 +114,7 @@ trait Localization
$this->Plugins()->ReadLang($sLang, $aLang);
}
return $aLang[$aKey] ?? $sKey;
return $aLang[$sKey] ?? $sKey;
}
public function compileLanguage(string $sLanguage, bool $bAdmin = false) : string