From 0268829299747ef6f7cc1ee5dac6a3d4e67b2fe4 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 10 Apr 2014 10:42:17 +0200 Subject: Append group parameter to attachments set by plugins if not present --- program/steps/mail/compose.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps') 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 { -- cgit v1.2.3