* Fixed issue #27 (e-mails not deleted)

* Fixed issue #28 (add quick delete link to dashboard)
This commit is contained in:
Ross Poulton
2008-11-09 05:34:51 +00:00
parent e05bd28f8b
commit 8948bc1a0a
3 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ def update_ticket(request, ticket_id):
reassigned = False
if owner:
if owner != 0 and (ticket.assigned_to and owner != ticket.assigned_to.id) or not ticket.assigned_to:
if owner != 0 and ((ticket.assigned_to and owner != ticket.assigned_to.id) or not ticket.assigned_to):
new_user = User.objects.get(id=owner)
f.title = _('Assigned to %(username)s') % {
'username': new_user.username,