From e691708e73f48b1b7191dfa157683d6a8496be60 Mon Sep 17 00:00:00 2001 From: Andreas Kotowicz Date: Tue, 8 Feb 2011 22:19:17 +0100 Subject: [PATCH] temporary fix for bug https://github.com/rossp/django-helpdesk/issues/#issue/22 --- helpdesk/views/staff.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index 6509da43..79d437b6 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -285,6 +285,9 @@ def update_ticket(request, ticket_id, public=False): messages_sent_to = [] + # ticket might have changed above, so we re-instantiate context with the + # (possibly) updated ticket. + context = safe_template_context(ticket) context.update( resolution=ticket.resolution, comment=f.comment,