summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-09-30 15:22:08 +0000
committerthomascube <thomas@roundcube.net>2011-09-30 15:22:08 +0000
commite750d1b8164a7a1e584c77d3ef4113b4fcf3da39 (patch)
tree22fc98200ff75a7ac99de09f113ae424ce7f0f35 /program/include/main.inc
parentad27eb29727889a823dee8e855462a5fe0b90ab9 (diff)
Restrict folders list to write-only in selectors for special folders and save-message-to option
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 4aefb3f86..c7a6e7bca 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1214,9 +1214,9 @@ function rcmail_mailbox_select($p = array())
$p['folder_name'] = '*';
if ($p['unsubscribed'])
- $list = $RCMAIL->imap->list_unsubscribed('', $p['folder_name'], $p['folder_filter']);
+ $list = $RCMAIL->imap->list_unsubscribed('', $p['folder_name'], $p['folder_filter'], $p['folder_rights']);
else
- $list = $RCMAIL->imap->list_mailboxes('', $p['folder_name'], $p['folder_filter']);
+ $list = $RCMAIL->imap->list_mailboxes('', $p['folder_name'], $p['folder_filter'], $p['folder_rights']);
$delimiter = $RCMAIL->imap->get_hierarchy_delimiter();