mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-29 11:23:16 +01:00
* Only e-mail user on ticket change if there is a comment to send them.
This commit is contained in:
parent
977d0e0aca
commit
d146283259
2
views.py
2
views.py
@ -132,7 +132,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:
|
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