From b1d5dad6b9008bba45f38dac4f14f8865ff34c1c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 5 Oct 2013 13:25:40 +0000 Subject: [PATCH] get sidebox of given app --- preferences/inc/class.preferences_settings.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index 8b6146e21f..f9d5957b2f 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -121,6 +121,8 @@ 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; if ($msg) egw_framework::message($msg, $msg_type ? $msg_type : 'error');