diff --git a/preferences/inc/class.preferences_hooks.inc.php b/preferences/inc/class.preferences_hooks.inc.php index f297899ff9..9afb5563d2 100644 --- a/preferences/inc/class.preferences_hooks.inc.php +++ b/preferences/inc/class.preferences_hooks.inc.php @@ -46,8 +46,10 @@ class preferences_hooks 'text' => lang('Text only') ); - $langs = translation::get_installed_langs(); - + if (!$hook_data['setup']) + { + $langs = translation::get_installed_langs(); + } $tzs = egw_time::getTimezones(); $date_formats = array(