diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index 6e46f57de..d1829f4e7 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -634,8 +634,8 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site')); showConfigText('settings_siteName', 'siteName'); ?> showConfigText('settings_footNote', 'footNote'); ?> showConfigCheckbox('settings_printDisclaimer', 'printDisclaimer'); ?> -showConfigOption('settings_available_languages', 'availablelanguages', getAvailableLanguages(), true, true); ?> -showConfigOption('settings_language', 'language', getAvailableLanguages(), false, true); ?> +showConfigOption('settings_available_languages', 'availablelanguages', $settings->getAvailableLanguages(), true, true); ?> +showConfigOption('settings_language', 'language', $settings->getAvailableLanguages(), false, true); ?> showConfigText('settings_dateformat', 'dateformat'); ?> showConfigText('settings_datetimeformat', 'datetimeformat'); ?> showConfigOption('settings_theme', 'theme', UI::getStyles(), false, false); ?>