From 3f7c918161ed4b4e86705360ec7f43ccb300a111 Mon Sep 17 00:00:00 2001 From: Ross Poulton Date: Mon, 14 Jan 2008 23:40:51 +0000 Subject: [PATCH] * Only e-mail users on ticket update if a comment or resolution was provided. --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views.py b/views.py index 058705a9..a3e3dae9 100644 --- a/views.py +++ b/views.py @@ -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,