Merge pull request #909 from julceslauhub/master

Fix little bug with a variable name
This commit is contained in:
julceslauhub
2012-11-08 07:50:01 -08:00

View File

@@ -1209,8 +1209,8 @@ class G
$defaultTranslations = $translation;
//if some foreign language was requested and its translation file exists
if ($locale != 'en' && file_exists( PATH_LANGUAGECONT . 'translation.' . $lang )) {
require_once (PATH_LANGUAGECONT . 'translation.' . $lang); //load the foreign translations table
if ($locale != 'en' && file_exists( PATH_LANGUAGECONT . 'translation.' . $locale )) {
require_once (PATH_LANGUAGECONT . 'translation.' . $locale); //load the foreign translations table
$foreignTranslations = $translation;
}