summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-30 15:22:08 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-30 15:22:08 +0000
commite1e6a8446d3d7231064913e454698d202a64be87 (patch)
tree6d170782f78c0c0fd2e9d9a373951ec001a6db56 /roundcubemail/program/steps/mail
parent84917c3dfdc8259239a50f1b366ef676511737a8 (diff)
Restrict folders list to write-only in selectors for special folders and save-message-to option
git-svn-id: https://svn.roundcube.net/trunk@5297 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/compose.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index aac05be00..c31ec9b2b 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/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);
}