Fix an other stupid typo

This commit is contained in:
Matteo Gheza 2022-04-07 23:25:48 +02:00
parent e104402163
commit 94f06df393
1 changed files with 1 additions and 1 deletions

View File

@ -701,7 +701,7 @@ class Translations
}
foreach($this->loaded_languages as $language) {
$filename = "translations/".$language.".php";
if (file_exists($this->filename)) {
if (file_exists($filename)) {
$this->loaded_translations[$language] = require($filename);
} else {
throw new Exception("Language file not found");