fix "missing comment in email" problem when closing ticket.

This commit is contained in:
Andreas Kotowicz 2012-03-12 14:34:48 +01:00
parent 932c2016f6
commit f19115ffd3

View File

@ -437,7 +437,7 @@ def update_ticket(request, ticket_id, public=False):
c.save()
ticket.tags = tags
if new_status == Ticket.RESOLVED_STATUS:
if new_status in [Ticket.RESOLVED_STATUS, Ticket.CLOSED_STATUS]:
ticket.resolution = comment
messages_sent_to = []