Commit 5c19a8aa authored by Ozzie Isaacs's avatar Ozzie Isaacs

Bugfix edit comments

Testupdate
parent 7ae3255e
......@@ -468,7 +468,7 @@ def edit_book_comments(comments, book):
comments = clean_html(comments)
if len(book.comments):
if book.comments[0].text != comments:
book.comments[0].text = clean_html(comments)
book.comments[0].text = comments
modif_date = True
else:
if comments:
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment