Bugfix edit comments
Testupdate
This commit is contained in:
parent
7ae3255ea9
commit
5c19a8aacc
|
@ -468,7 +468,7 @@ def edit_book_comments(comments, book):
|
||||||
comments = clean_html(comments)
|
comments = clean_html(comments)
|
||||||
if len(book.comments):
|
if len(book.comments):
|
||||||
if book.comments[0].text != comments:
|
if book.comments[0].text != comments:
|
||||||
book.comments[0].text = clean_html(comments)
|
book.comments[0].text = comments
|
||||||
modif_date = True
|
modif_date = True
|
||||||
else:
|
else:
|
||||||
if comments:
|
if comments:
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user