fix: mysql error for activity
This commit is contained in:
parent
a7d094deac
commit
5faedacd5d
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ def get_feed_match_conditions(user=None, doctype='Comment'):
|
|||
user_permissions = frappe.permissions.get_user_permissions(user)
|
||||
can_read = frappe.get_user().get_can_read()
|
||||
|
||||
can_read_doctypes = ["'{}'".format(doctype) for doctype in
|
||||
can_read_doctypes = ["'{}'".format(dt) for dt in
|
||||
list(set(can_read) - set(list(user_permissions)))]
|
||||
|
||||
if can_read_doctypes:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue