Bugfix edit comments
Testupdate
This commit is contained in:
+1
-1
@@ -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:
|
||||||
|
|||||||
+1174
-502
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user