diff options
author | alecpl <alec@alec.pl> | 2009-09-23 19:01:53 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-23 19:01:53 +0000 |
commit | 93a88c95b7415206b0c8d742f8914c7ecc193e11 (patch) | |
tree | b029aff510eb18a5555b89693408797782527e2d /program/steps | |
parent | cb9fc852cf39d91dfa1dc915073914fd153e774a (diff) |
- Prevent from setting INBOX as any of special folders (#1486114)
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/settings/edit_prefs.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/settings/edit_prefs.inc b/program/steps/settings/edit_prefs.inc index 38343b55f..6abfb00c2 100644 --- a/program/steps/settings/edit_prefs.inc +++ b/program/steps/settings/edit_prefs.inc @@ -375,7 +375,8 @@ function rcmail_user_prefs_block($part, $attrib) // Configure special folders if (!isset($no_override['default_imap_folders'])) { $RCMAIL->imap_init(true); - $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, 'maxlength' => 30)); + $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, + 'maxlength' => 30, 'exceptions' => array('INBOX'))); if (!isset($no_override['drafts_mbox'])) $blocks['main']['options']['drafts_mbox'] = array( |