forked from extern/django-helpdesk
Fix issue #135: Error when updating multiple tickets.
This commit is contained in:
parent
1db70b2804
commit
305bd2769a
@ -56,3 +56,5 @@ pagination issues. Thanks to Walter Doekes for the patches.
|
||||
|
||||
2010-07-16 r158 New CSRF functionality for Django 1.1+. Thanks to
|
||||
'litchfield4' for the patch.
|
||||
|
||||
2010-09-04 r159 Error when updating multiple tickets. Issue #135.
|
||||
|
@ -391,13 +391,13 @@ def mass_update(request):
|
||||
)
|
||||
messages_sent_to.append(t.submitter_email)
|
||||
|
||||
for cc in ticket.ticketcc_set.all():
|
||||
for cc in t.ticketcc_set.all():
|
||||
if cc.email_address not in messages_sent_to:
|
||||
send_templated_mail(
|
||||
'closed_submitter',
|
||||
context,
|
||||
recipients=cc.email_address,
|
||||
sender=ticket.queue.from_address,
|
||||
sender=t.queue.from_address,
|
||||
fail_silently=True,
|
||||
)
|
||||
messages_sent_to.append(cc.email_address)
|
||||
|
Loading…
Reference in New Issue
Block a user