mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 09:23:39 +01:00
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