summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-10 10:42:17 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-10 10:42:17 +0200
commit8ed382f1ec92d110ccc4dbfcabed06795acd199d (patch)
treed336bf6450735db8171e6734c2b304f9a98c5221 /program
parent45924a1a8a3a8fdaf5a04511ece3db344d63a42f (diff)
Append group parameter to attachments set by plugins if not present
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 22ebaed8d..2b717d673 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -487,7 +487,7 @@ function rcmail_process_compose_params(&$COMPOSE)
foreach ($plugin['attachments'] as $attach) {
// we have structured data
if (is_array($attach)) {
- $attachment = $attach;
+ $attachment = $attach + array('group' => $COMPOSE_ID);
}
// only a file path is given
else {