From fbf2d2d24a4cb8b6d9d028e3a9b41503ae1f9d1f Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Sat, 19 May 2018 11:54:02 +0200 Subject: [PATCH] Tweak --- comments/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comments/views.py b/comments/views.py index c4e02ff68..7c255519c 100644 --- a/comments/views.py +++ b/comments/views.py @@ -99,7 +99,7 @@ def vet_submitted_comment(request, comment_id): mail_code='referees/authors_replied_to_report', instance=content_object) mail_sender.send() - if not comment.is_author_reply: + else: SubmissionUtils.load({'submission': content_object.submission}) SubmissionUtils.send_author_comment_received_email() -- GitLab