Fixes issue #46 - could not reassign tickets.

This commit is contained in:
Ross Poulton 2009-01-27 10:19:06 +00:00
parent e37609de6e
commit 9830e1c3c1

View File

@ -150,7 +150,7 @@ def update_ticket(request, ticket_id):
f = FollowUp(ticket=ticket, date=datetime.now(), comment=comment)
if request.user.is_staff():
if request.user.is_staff:
f.user = request.user
f.public = public
@ -296,7 +296,7 @@ def update_ticket(request, ticket_id):
ticket.save()
if request.user.is_staff():
if request.user.is_staff:
return HttpResponseRedirect(ticket.get_absolute_url())
else:
return HttpResponseRedirect(ticket.ticket_url)