fix: reference error
This commit is contained in:
parent
424c0c50f8
commit
3b6ae2de6c
1 changed files with 1 additions and 1 deletions
|
|
@ -458,7 +458,7 @@ def update_permission_property(doctype, role, permlevel, ptype, value=None, vali
|
|||
update `tabCustom DocPerm`
|
||||
set `{0}`=%s where name=%s""".format(ptype), (value, name))
|
||||
if validate:
|
||||
validate_permissions_for_doctype(doctype, alert=alert)
|
||||
validate_permissions_for_doctype(doctype)
|
||||
|
||||
return out
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue