get sidebox of given app

This commit is contained in:
Ralf Becker 2013-10-05 13:25:40 +00:00
parent 86abbbf443
commit b1d5dad6b9

View File

@ -121,6 +121,8 @@ class preferences_settings
$msg = $this->process_array($GLOBALS['egw']->preferences->$attribute, $msg = $this->process_array($GLOBALS['egw']->preferences->$attribute,
(array)$GLOBALS['egw']->preferences->{$attribute}[$appname], $preserve['types'], $appname, $attribute, true); (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;
if ($msg) egw_framework::message($msg, $msg_type ? $msg_type : 'error'); if ($msg) egw_framework::message($msg, $msg_type ? $msg_type : 'error');