From c22fcc61d7ba2e737c076488cfa10195464ce2d7 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 26 Feb 2019 17:04:58 +0530 Subject: [PATCH] fix(typo): comment.py --- frappe/core/doctype/comment/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/core/doctype/comment/comment.py b/frappe/core/doctype/comment/comment.py index 192b949e6d..a5e5a1a028 100644 --- a/frappe/core/doctype/comment/comment.py +++ b/frappe/core/doctype/comment/comment.py @@ -102,7 +102,7 @@ class Comment(Document): def on_doctype_update(): frappe.db.add_index("Comment", ["reference_doctype", "reference_name"]) - frappe.db.add_index("Communication", ["link_doctype", "link_name"]) + frappe.db.add_index("Comment", ["link_doctype", "link_name"]) def update_comment_in_doc(doc):