Initialize associated attachments collection for attachment types.

This commit is contained in:
Jan Böhmer 2020-05-18 11:26:04 +02:00
parent 1d986d9197
commit ae23a82105

View file

@ -81,6 +81,7 @@ class AttachmentType extends AbstractStructuralDBElement
{ {
parent::__construct(); parent::__construct();
$this->attachments = new ArrayCollection(); $this->attachments = new ArrayCollection();
$this->attachments_with_type = new ArrayCollection();
} }
/** /**