summaryrefslogtreecommitdiff
path: root/program/steps/mail
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/steps/mail
parentad27eb29727889a823dee8e855462a5fe0b90ab9 (diff)
Restrict folders list to write-only in selectors for special folders and save-message-to option
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/compose.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index aac05be00..c31ec9b2b 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -1383,7 +1383,8 @@ function rcmail_store_target_selection($attrib)
$attrib['name'] = '_store_target';
$select = rcmail_mailbox_select(array_merge($attrib, array(
'noselection' => '- '.rcube_label('dontsave').' -',
- 'folder_filter' => 'mail'
+ 'folder_filter' => 'mail',
+ 'folder_rights' => 'w',
)));
return $select->show($_SESSION['compose']['param']['sent_mbox'], $attrib);
}