mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
prevent NotImplemented exception during template rendering (#3567)
* prevent NotImplemented exception during template rendering * specify an action for ACL to check
This commit is contained in:
@@ -937,7 +937,7 @@ class Htmlizer
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($this->acl && !$this->acl->checkEntityRead($relatedEntity)) {
|
||||
if ($this->acl && !$this->acl->tryCheck($relatedEntity, Acl\Table::ACTION_READ)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user