Skip to content

Commit

Permalink
Bugfix edit comments
Browse files Browse the repository at this point in the history
Testupdate
  • Loading branch information
OzzieIsaacs committed Aug 28, 2021
1 parent 7ae3255 commit 5c19a8a
Show file tree
Hide file tree
Showing 2 changed files with 1,175 additions and 503 deletions.
2 changes: 1 addition & 1 deletion cps/editbooks.py
Expand Up @@ -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:
Expand Down

0 comments on commit 5c19a8a

Please sign in to comment.