fix: sider fix
This commit is contained in:
parent
d08e0f6605
commit
5dfe65f8f9
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ from frappe import _
|
|||
def add_comment(comment, comment_email, comment_by, reference_doctype, reference_name, route):
|
||||
doc = frappe.get_doc(reference_doctype, reference_name)
|
||||
|
||||
if not doc.doctype in ['Blog Post', 'Web Page']:
|
||||
if doc.doctype not in ['Blog Post', 'Web Page']:
|
||||
return
|
||||
|
||||
if not comment.strip():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue