From ae23a82105515780777d3c30806b22876faf3131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 18 May 2020 11:26:04 +0200 Subject: [PATCH] Initialize associated attachments collection for attachment types. --- src/Entity/Attachments/AttachmentType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Entity/Attachments/AttachmentType.php b/src/Entity/Attachments/AttachmentType.php index 0c4288bc..e77b62e0 100644 --- a/src/Entity/Attachments/AttachmentType.php +++ b/src/Entity/Attachments/AttachmentType.php @@ -81,6 +81,7 @@ class AttachmentType extends AbstractStructuralDBElement { parent::__construct(); $this->attachments = new ArrayCollection(); + $this->attachments_with_type = new ArrayCollection(); } /**