EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Fix incorrect alias in subscriptionExclude join (#3520)
Anton Slyzhko445ea1f240e1
diff --git a/application/Espo/Tools/Stream/UserRecordService.php b/application/Espo/Tools/Stream/UserRecordService.phpindex b347464891..22949f78ca 100644--- a/application/Espo/Tools/Stream/UserRecordService.php+++ b/application/Espo/Tools/Stream/UserRecordService.php@@ -389,7 +389,7 @@ class UserRecordService['entityType:' => 'parentType','entityId:' => 'parentId',- 'subscription.userId' => $user->getId(),+ 'subscriptionExclude.userId' => $user->getId(),])->where([