From 0f3c97965054f069253701f4edcf23df138df9ec Mon Sep 17 00:00:00 2001 From: Ross Poulton Date: Mon, 21 Jan 2008 03:51:35 +0000 Subject: [PATCH] * Bugfix --- views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views.py b/views.py index 477f14d5..c6e478ad 100644 --- a/views.py +++ b/views.py @@ -216,7 +216,7 @@ def update_ticket(request, ticket_id): send_multipart_mail(template_staff, context, subject, ticket.submitter_email, ticket.queue.from_address) - if q.updated_ticket_cc: + if ticket.queue.updated_ticket_cc: if reassigned: template_cc = 'helpdesk/emails/cc_assigned' subject = '%s %s (Assigned)' % (ticket.ticket, ticket.title) @@ -230,7 +230,7 @@ def update_ticket(request, ticket_id): template_cc = 'helpdesk/emails/cc_updated' subject = '%s %s (Updated)' % (ticket.ticket, ticket.title) - send_multipart_mail(template_cc, context, q.updated_ticket_cc, t.submitter_email, q.from_address) + send_multipart_mail(template_cc, context, subject, ticket.queue.updated_ticket_cc, ticket.queue.from_address) ticket.save()