mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-15 02:22:36 +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
|
ticket.due_date = due_date
|
||||||
|
|
||||||
# save custom fields and ticket changes
|
# save custom fields and ticket changes
|
||||||
if customfields_form.is_valid():
|
if customfields_form and customfields_form.is_valid():
|
||||||
customfields_form.save(followup=f)
|
customfields_form.save(followup=f)
|
||||||
|
|
||||||
for checklist in ticket.checklists.all():
|
for checklist in ticket.checklists.all():
|
||||||
|
Reference in New Issue
Block a user