Fix issue when translations_fallback is turned off, the translations are always relative to the default language even if the active language is != default

This commit is contained in:
Flavio Copes
2015-12-07 16:25:46 +01:00
parent 079a8c5728
commit 5df48e7a68

View File

@@ -352,7 +352,7 @@ class Language
if ($this->config->get('system.languages.translations_fallback', true)) {
$languages = $this->getFallbackLanguages();
} else {
$languages = (array)$this->getDefault();
$languages = (array)$this->getLanguage();
}
}
} else {