mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-14 01:58:28 +02:00
Handle case where update_ticket doesn't handle customfields_form
This commit is contained in:
@ -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():
|
||||
|
Reference in New Issue
Block a user