From 9228c7fbd01d04ca0a08ca5ffe21094362779f36 Mon Sep 17 00:00:00 2001 From: Georg Lehner Date: Wed, 12 Jun 2024 15:04:23 +0200 Subject: [PATCH] Fix Fix: correct variable name and test --- helpdesk/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/forms.py b/helpdesk/forms.py index 60d363cc..5559b32f 100644 --- a/helpdesk/forms.py +++ b/helpdesk/forms.py @@ -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