From d1462832591f7a1bb93b7f8a6fcd4beb345d26fb Mon Sep 17 00:00:00 2001 From: Ross Poulton Date: Mon, 7 Jan 2008 20:31:56 +0000 Subject: [PATCH] * Only e-mail user on ticket change if there is a comment to send them. --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views.py b/views.py index 434484bc..a89f1ab3 100644 --- a/views.py +++ b/views.py @@ -132,7 +132,7 @@ def update_ticket(request, ticket_id): if f.new_status == Ticket.RESOLVED_STATUS: ticket.resolution = comment - if public and ticket.submitter_email: + if public and ticket.submitter_email and f.comment: context = { 'ticket': ticket, 'queue': ticket.queue,