From 6c44f3144838098c997191663de4fa9d9b353ccb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 28 Jan 2014 11:01:17 +0000 Subject: [PATCH] specify template for redirect, to NOT open preferences (= current app) tab in Stylite/Pixelegg template --- preferences/inc/class.preferences_settings.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index d923ede8f3..9eca5dec8f 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -100,11 +100,11 @@ class preferences_settings { if ($app_data['index']) { - egw::redirect_link('/index.php', 'menuaction='.$app_data['index']); + egw::redirect_link('/index.php', 'menuaction='.$app_data['index'], $content['current_app']); } else { - egw::redirect_link('/'.$content['current_app'].'/index.php'); + egw::redirect_link('/'.$content['current_app'].'/index.php', null, $content['current_app']); } } else