From c892699744903aca3de642c6c0c788ed99381e19 Mon Sep 17 00:00:00 2001 From: Ross Poulton Date: Sun, 31 Jan 2010 02:13:44 +0000 Subject: [PATCH] Fix bug caused by issue #129 - ticket followup titles being set incorrectly. Thanks to Lukeman for the fix. Closes Issue #130. --- CHANGELOG | 3 +++ views/staff.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 5ff8c239..ff98a42b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -47,3 +47,6 @@ lukeman for the patch. 2010-01-26 r154 Fix bug in the code from Issue #102 where TicketCC's couldn't be deleted. Thanks again to lukeman. + +2010-01-31 r155 Fix bug caused by issue #129 - ticket followup titles being +set incorrectly. Thanks to Lukeman for the fix. diff --git a/views/staff.py b/views/staff.py index e7116105..1999b561 100644 --- a/views/staff.py +++ b/views/staff.py @@ -174,7 +174,7 @@ def update_ticket(request, ticket_id, public=False): } ticket.assigned_to = new_user reassigned = True - elif owner == 0: + elif owner == 0 and ticket.assigned_to is not None: f.title = _('Unassigned') ticket.assigned_to = None