summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-01-02 08:40:00 +0100
committerAleksander Machniak <alec@alec.pl>2014-01-02 08:40:00 +0100
commitee43f097241253b8afbbb075d335d5039ae8a98c (patch)
tree4422f4d30ef29606ab56d3e8c68b96a6c5d9ee13 /program/steps/settings
parent0301d9347f8c59882cdd7b6ed59686b286a77876 (diff)
Fix possible warning when advances_prefs setting is not an array
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index 418f8b043..7c36df3b1 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -1204,7 +1204,7 @@ function rcmail_user_prefs($current = null)
$data = $RCMAIL->plugins->exec_hook('preferences_list',
array('section' => $sect['id'], 'blocks' => $blocks, 'current' => $current));
- $advanced_prefs = $config['advanced_prefs'];
+ $advanced_prefs = (array) $RCMAIL->config->get('advanced_prefs');
// create output
foreach ($data['blocks'] as $key => $block) {