Fix comment subscription

This commit is contained in:
Yax 2015-09-04 12:58:59 +02:00
parent 7e2ab4652d
commit c1acd3a34a

View file

@ -91,7 +91,7 @@ def new_comment(data):
mail(site.admin_email, subject, email_body)
# Reader subscribes to further comments
if subscribe and author_email:
if subscribe = 'true' and author_email:
subscribe_reader(author_email, token, url)
logger.debug("new comment processed ")