diff --git a/application/Espo/Core/Htmlizer/Htmlizer.php b/application/Espo/Core/Htmlizer/Htmlizer.php index 1daef25903..0a51ab7389 100644 --- a/application/Espo/Core/Htmlizer/Htmlizer.php +++ b/application/Espo/Core/Htmlizer/Htmlizer.php @@ -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; }