diff options
Diffstat (limited to 'app/Core/Translator.php')
-rw-r--r-- | app/Core/Translator.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Core/Translator.php b/app/Core/Translator.php index 1954ee2f..0f5a77cc 100644 --- a/app/Core/Translator.php +++ b/app/Core/Translator.php @@ -181,5 +181,8 @@ class Translator if (file_exists($filename)) { self::$locales = require $filename; } + else { + self::$locales = array(); + } } } |