From 5f5c06d6e9c257feed0559c88c716c1bb441b78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Fri, 3 Feb 2023 23:18:14 +0100 Subject: [PATCH] Fixed problems with attachments on label profiles. --- src/Services/Attachments/AttachmentSubmitHandler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Services/Attachments/AttachmentSubmitHandler.php b/src/Services/Attachments/AttachmentSubmitHandler.php index 4dcf1a65..c3112526 100644 --- a/src/Services/Attachments/AttachmentSubmitHandler.php +++ b/src/Services/Attachments/AttachmentSubmitHandler.php @@ -28,6 +28,7 @@ use App\Entity\Attachments\AttachmentType; use App\Entity\Attachments\AttachmentTypeAttachment; use App\Entity\Attachments\CategoryAttachment; use App\Entity\Attachments\CurrencyAttachment; +use App\Entity\Attachments\LabelAttachment; use App\Entity\Attachments\ProjectAttachment; use App\Entity\Attachments\FootprintAttachment; use App\Entity\Attachments\GroupAttachment; @@ -90,6 +91,7 @@ class AttachmentSubmitHandler StorelocationAttachment::class => 'storelocation', SupplierAttachment::class => 'supplier', UserAttachment::class => 'user', + LabelAttachment::class => 'label_profile', ]; }