diff --git a/application/Espo/Services/Stream.php b/application/Espo/Services/Stream.php index cf817a268e..d085a85f48 100644 --- a/application/Espo/Services/Stream.php +++ b/application/Espo/Services/Stream.php @@ -1750,7 +1750,7 @@ class Stream extends \Espo\Core\Services\Base if (empty($item['entity'])) continue; if (empty($item['object'])) continue; if ( - $aclManager->getLevel($user, $scope, 'read') !== 'all' + !$aclManager || $aclManager->getLevel($user, $scope, 'read') !== 'all' ) { $list[] = $scope; }