summaryrefslogtreecommitdiff
path: root/plugins/archive
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-23 19:01:53 +0000
committeralecpl <alec@alec.pl>2009-09-23 19:01:53 +0000
commit93a88c95b7415206b0c8d742f8914c7ecc193e11 (patch)
treeb029aff510eb18a5555b89693408797782527e2d /plugins/archive
parentcb9fc852cf39d91dfa1dc915073914fd153e774a (diff)
- Prevent from setting INBOX as any of special folders (#1486114)
Diffstat (limited to 'plugins/archive')
-rw-r--r--plugins/archive/archive.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php
index 7750160c5..8c855fea7 100644
--- a/plugins/archive/archive.php
+++ b/plugins/archive/archive.php
@@ -115,7 +115,8 @@ class archive extends rcube_plugin
$this->add_texts('localization');
$rcmail = rcmail::get_instance();
- $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true, 'maxlength' => 30));
+ $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true,
+ 'maxlength' => 30, 'exceptions' => array('INBOX')));
$args['blocks']['main']['options']['archive_mbox'] = array(
'title' => $this->gettext('archivefolder'),