Merge pull request #999 from afranjin/bugfix/#998-user-settings-model-filed-name-typo

bugfix/#998-user-settings-model-filed-name-typo
This commit is contained in:
Garret Wassermann 2022-03-11 17:36:31 -05:00 committed by GitHub
commit 909b7a5533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)},