mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +01:00
Handle case where update_ticket doesn't handle customfields_form
This commit is contained in:
parent
9ee0207c3c
commit
c7b60267eb
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user