summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-12-05 07:24:36 +0000
committeralecpl <alec@alec.pl>2011-12-05 07:24:36 +0000
commitdb4ec58b9086d55dfd22366850e21486fc5211e6 (patch)
tree1946ba1f33116602a0a9a42da34cc36d1d8e80d8 /program/steps/settings
parentf47d5e20891305d4c40f4f500318cfcbea4d2135 (diff)
- Apply fixes from trunk up to r5542
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/save_prefs.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc
index d917e1157..f5f3e36d3 100644
--- a/program/steps/settings/save_prefs.inc
+++ b/program/steps/settings/save_prefs.inc
@@ -145,6 +145,8 @@ switch ($CURR_SECTION)
// switch skin (if valid, otherwise unset the pref and fall back to default)
if (!$OUTPUT->set_skin($a_user_prefs['skin']))
unset($a_user_prefs['skin']);
+ else if ($RCMAIL->config->get('skin') != $a_user_prefs['skin'])
+ $OUTPUT->command('reload', 500);
// force min size
if ($a_user_prefs['pagesize'] < 1)