summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/func.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index 016264128..81744d904 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -1198,6 +1198,13 @@ function rcmail_user_prefs($current = null)
}
}
+ // move 'advanced' block to the end of the list
+ if (!empty($data['blocks']['advanced'])) {
+ $adv = $data['blocks']['advanced'];
+ unset($data['blocks']['advanced']);
+ $data['blocks']['advanced'] = $adv;
+ }
+
if (!$found)
unset($sections[$idx]);
else