* Only e-mail users on ticket update if a comment or resolution was provided.

This commit is contained in:
Ross Poulton 2008-01-14 23:40:51 +00:00
parent 7932ace133
commit 3f7c918161

View File

@ -141,7 +141,7 @@ def update_ticket(request, ticket_id):
if f.new_status == Ticket.RESOLVED_STATUS:
ticket.resolution = comment
if public and ticket.submitter_email and f.comment:
if public and ticket.submitter_email and f.comment != '':
context = {
'ticket': ticket,
'queue': ticket.queue,