mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-12 18:00:45 +01:00
* Only e-mail users on ticket update if a comment or resolution was provided.
This commit is contained in:
parent
7932ace133
commit
3f7c918161
2
views.py
2
views.py
@ -141,7 +141,7 @@ def update_ticket(request, ticket_id):
|
|||||||
if f.new_status == Ticket.RESOLVED_STATUS:
|
if f.new_status == Ticket.RESOLVED_STATUS:
|
||||||
ticket.resolution = comment
|
ticket.resolution = comment
|
||||||
|
|
||||||
if public and ticket.submitter_email and f.comment:
|
if public and ticket.submitter_email and f.comment != '':
|
||||||
context = {
|
context = {
|
||||||
'ticket': ticket,
|
'ticket': ticket,
|
||||||
'queue': ticket.queue,
|
'queue': ticket.queue,
|
||||||
|
Loading…
Reference in New Issue
Block a user