Browse Source

fix(typo): comments.py

version-14
Rushabh Mehta 6 years ago
parent
commit
09e149bec3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/core/doctype/comment/comment.py

+ 1
- 1
frappe/core/doctype/comment/comment.py View File

@@ -115,7 +115,7 @@ def update_comment_in_doc(doc):
}"""

# only comments get updates, not likes, assignments etc.
if self.comment_type != 'Comment':
if doc.comment_type != 'Comment':
return

def get_truncated(content):


Loading…
Cancel
Save