diff --git a/application/Espo/Modules/Crm/Hooks/CaseObj/Contacts.php b/application/Espo/Modules/Crm/Hooks/CaseObj/Contacts.php index f5c4750b0b..064c4cc688 100644 --- a/application/Espo/Modules/Crm/Hooks/CaseObj/Contacts.php +++ b/application/Espo/Modules/Crm/Hooks/CaseObj/Contacts.php @@ -106,7 +106,8 @@ class Contacts implements AfterSave ->findOne(); if ($portalUser) { - $this->getStreamService()->followEntity($entity, $portalUser->getId(), true); + // @todo Solve ACL check issue when a user is in multiple portals. + $this->getStreamService()->followEntity($entity, $portalUser->getId()); } if (in_array($contactId, $contactIdList)) {