From acf6793e5258ebcab567acc5ca5fd0a621495305 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 20 Jan 2015 08:57:21 +0000 Subject: [PATCH] assigning saved preferences to egw_info, which is used for this request --- home/inc/class.home_ui.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/inc/class.home_ui.inc.php b/home/inc/class.home_ui.inc.php index 185d3552f8..d55e6223c6 100644 --- a/home/inc/class.home_ui.inc.php +++ b/home/inc/class.home_ui.inc.php @@ -779,7 +779,8 @@ class home_ui $preferences->add($app, $name, $value, 'default'); } } - $preferences->save_repository(null, 'default'); + // assigning saved preferences to egw_info, which is used for this request + $GLOBALS['egw_info']['user']['preferences'] = $preferences->save_repository(null, 'default'); } /**