Fixed exception when accessing the group admin page

This commit is contained in:
Jan Böhmer 2022-10-09 21:07:51 +02:00
parent 34d0381e83
commit 34573bb5e6

View file

@ -88,7 +88,7 @@ class Group extends AbstractStructuralDBElement implements HasPermissionsInterfa
protected $enforce2FA = false; protected $enforce2FA = false;
/** /**
* @var Collection<int, GroupAttachment> * @var Collection<int, GroupAttachment>
* @ORM\OneToMany(targetEntity="App\Entity\Attachments\ManufacturerAttachment", mappedBy="element", cascade={"persist", "remove"}, orphanRemoval=true) * @ORM\OneToMany(targetEntity="App\Entity\Attachments\GroupAttachment", mappedBy="element", cascade={"persist", "remove"}, orphanRemoval=true)
* @ORM\OrderBy({"name" = "ASC"}) * @ORM\OrderBy({"name" = "ASC"})
* @Assert\Valid() * @Assert\Valid()
*/ */