Fix little bug with a variable name
This commit is contained in:
@@ -1209,8 +1209,8 @@ class G
|
|||||||
$defaultTranslations = $translation;
|
$defaultTranslations = $translation;
|
||||||
|
|
||||||
//if some foreign language was requested and its translation file exists
|
//if some foreign language was requested and its translation file exists
|
||||||
if ($locale != 'en' && file_exists( PATH_LANGUAGECONT . 'translation.' . $lang )) {
|
if ($locale != 'en' && file_exists( PATH_LANGUAGECONT . 'translation.' . $locale )) {
|
||||||
require_once (PATH_LANGUAGECONT . 'translation.' . $lang); //load the foreign translations table
|
require_once (PATH_LANGUAGECONT . 'translation.' . $locale); //load the foreign translations table
|
||||||
$foreignTranslations = $translation;
|
$foreignTranslations = $translation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user