diff --git a/helpdesk/update_ticket.py b/helpdesk/update_ticket.py index 20bac2d1..8577472b 100644 --- a/helpdesk/update_ticket.py +++ b/helpdesk/update_ticket.py @@ -315,7 +315,7 @@ def update_ticket( ticket.due_date = due_date # save custom fields and ticket changes - if customfields_form.is_valid(): + if customfields_form and customfields_form.is_valid(): customfields_form.save(followup=f) for checklist in ticket.checklists.all():