From 0268829299747ef6f7cc1ee5dac6a3d4e67b2fe4 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Thu, 10 Apr 2014 04:45:22 -0400 Subject: [PATCH] Append group parameter to attachments set by plugins if not present --- program/steps/mail/compose.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 4628029..ec7c9fa 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -475,7 +475,7 @@ 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 { -- Gitblit v1.9.1