Fix Fix: correct variable name and test

This commit is contained in:
Georg Lehner 2024-06-12 15:04:23 +02:00
parent 80ae20d1ac
commit 9228c7fbd0

View File

@ -419,7 +419,7 @@ class TicketForm(AbstractTicketForm):
followup = self._create_follow_up(ticket, title=title, user=user)
followup.save()
if settings.HELPDESK_ENABLE_ATTACHMENTS:
if helpdesk_settings.HELPDESK_ENABLE_ATTACHMENTS:
files = self._attach_files_to_follow_up(followup)
else:
files = None