From 34573bb5e6dfcd0bbd71bb0d18975d2f9f44abde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 9 Oct 2022 21:07:51 +0200 Subject: [PATCH] Fixed exception when accessing the group admin page --- src/Entity/UserSystem/Group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/UserSystem/Group.php b/src/Entity/UserSystem/Group.php index 227c7ff0..9f60d03f 100644 --- a/src/Entity/UserSystem/Group.php +++ b/src/Entity/UserSystem/Group.php @@ -88,7 +88,7 @@ class Group extends AbstractStructuralDBElement implements HasPermissionsInterfa protected $enforce2FA = false; /** * @var Collection - * @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"}) * @Assert\Valid() */