Fix bug caused by issue #129 - ticket followup titles being set incorrectly.

Thanks to Lukeman for the fix. Closes Issue #130.
This commit is contained in:
Ross Poulton 2010-01-31 02:13:44 +00:00
parent d77d962332
commit c892699744
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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