WEB: Fix loading localized data for news and articles

This commit is contained in:
Mataniko authored and Matan Bareket committed 2020-10-10 01:34:06 -04:00
1 parent 0a394a6260
commit fdc6d5ff6e
7 files changed
+48 -41

No files matched your search

+2 -1
View File
@@ -25,7 +25,8 @@ abstract class BasicModel
}
}
protected function getLocalizedFile($filename) {
protected function getLocalizedFile($filename)
{
global $lang;
if (!$lang) {
$lang = DEFAULT_LOCALE;