forked from extern/django-helpdesk
Fix typo in model field name in update_ticket.
email_on_ticket_assigned > email_on_ticket_assign
This commit is contained in:
parent
7bcee909ef
commit
fbadf23654
@ -709,7 +709,7 @@ def update_ticket(request, ticket_id, public=False):
|
||||
|
||||
if ticket.assigned_to and (
|
||||
ticket.assigned_to.usersettings_helpdesk.email_on_ticket_change
|
||||
or (reassigned and ticket.assigned_to.usersettings_helpdesk.email_on_ticket_assigned)
|
||||
or (reassigned and ticket.assigned_to.usersettings_helpdesk.email_on_ticket_assign)
|
||||
):
|
||||
messages_sent_to.update(ticket.send(
|
||||
{'assigned_to': (template_staff, context)},
|
||||
|
Loading…
Reference in New Issue
Block a user