summaryrefslogtreecommitdiff
path: root/program/steps
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:45:22 +0200
commit0268829299747ef6f7cc1ee5dac6a3d4e67b2fe4 (patch)
tree1cd2992e96d1300cbf4a76d7a35135dd46f25eb6 /program/steps
parentd61731e1a37a572a728456c76696268eda9ac471 (diff)
Append group parameter to attachments set by plugins if not present
Diffstat (limited to 'program/steps')
-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 46280292e..ec7c9fa44 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -475,7 +475,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 {