mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-28 12:40:08 +02:00
Initialize associated attachments collection for attachment types.
This commit is contained in:
parent
1d986d9197
commit
ae23a82105
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue