diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index f9d5957b2f..0843ae86cd 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -121,9 +121,13 @@ class preferences_settings $msg = $this->process_array($GLOBALS['egw']->preferences->$attribute, (array)$GLOBALS['egw']->preferences->{$attribute}[$appname], $preserve['types'], $appname, $attribute, true); } - // get sidebox of given app - if ($appname != 'common') $GLOBALS['egw_info']['flags']['currentapp'] = $appname; - + // get sidebox menu of given app + if ($appname != 'common') + { + $GLOBALS['egw_info']['flags']['currentapp'] = $appname; + // need to include our css + egw_framework::includeCSS('preferences','app'); + } if ($msg) egw_framework::message($msg, $msg_type ? $msg_type : 'error'); $tpl->exec('preferences.preferences_settings.index', $content, $sel_options, $readonlys, $preserve);