This commit is contained in:
James Cole
2021-04-09 16:02:50 +02:00
parent 56b2fa69bc
commit 95d72d065b

View File

@@ -719,10 +719,12 @@ class GroupCollector implements GroupCollectorInterface
// also merge attachments:
if (array_key_exists('attachment_id', $result)) {
$attachmentId = (int)$augumentedJournal['attachment_id'];
if (0 !== $attachmentId) {
$result['attachments'][$attachmentId] = [
'id' => $attachmentId,
];
}
}
return $result;
}