Kompatibel mit Erweiterung i18nl10n

This commit is contained in:
2015-10-09 09:27:49 +02:00
parent 81ae92763e
commit 51d20d5d2d
6 changed files with 17 additions and 17 deletions

View File

@ -144,7 +144,7 @@ class tl_settings_aeo extends \Backend
}
if (in_array('i18nl10n', $this->Config->getActiveModules())) {
$languages = deserialize($GLOBALS['TL_CONFIG']['i18nl10n_languages']);
$languages = \I18nl10n\Classes\I18nl10n::getInstance()->getAvailableLanguages(true, true);
foreach ($languages as $language) {
array_push($arrLanguages, strtolower($language));
}