Append group parameter to attachments set by plugins if not present

pull/176/head
Thomas Bruederli 10 years ago
parent 45924a1a8a
commit 8ed382f1ec

@ -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 {

Loading…
Cancel
Save