Aleksander Machniak
2014-01-02 ee43f097241253b8afbbb075d335d5039ae8a98c
Fix possible warning when advances_prefs setting is not an array
1 files modified
2 ■■■ changed files
program/steps/settings/func.inc 2 ●●● patch | view | raw | blame | history
program/steps/settings/func.inc
@@ -1204,7 +1204,7 @@
        $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) {