mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
[blog] permission fix
This commit is contained in:
@@ -81,7 +81,7 @@ def add_comment(args=None):
|
|||||||
# since comments are embedded in the page, clear the web cache
|
# since comments are embedded in the page, clear the web cache
|
||||||
webnotes.webutils.clear_cache(page_name)
|
webnotes.webutils.clear_cache(page_name)
|
||||||
|
|
||||||
args['comment_date'] = webnotes.utils.global_date_format(comment['creation'])
|
args['comment_date'] = webnotes.utils.global_date_format(comment.doc.creation)
|
||||||
template_args = { 'comment_list': [args], 'template': 'app/website/templates/html/comment.html' }
|
template_args = { 'comment_list': [args], 'template': 'app/website/templates/html/comment.html' }
|
||||||
|
|
||||||
# get html of comment row
|
# get html of comment row
|
||||||
|
|||||||
Reference in New Issue
Block a user