EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Fix assignment notification no related name
Yurii68754ff30b7d
diff --git a/application/Espo/Core/Notification/DefaultAssignmentNotificator.php b/application/Espo/Core/Notification/DefaultAssignmentNotificator.phpindex 8cefd92ae0..9dc46ee9ec 100644--- a/application/Espo/Core/Notification/DefaultAssignmentNotificator.php+++ b/application/Espo/Core/Notification/DefaultAssignmentNotificator.php@@ -122,7 +122,7 @@ class DefaultAssignmentNotificator implements AssignmentNotificator->setData(['entityType' => $entity->getEntityType(),'entityId' => $entity->getId(),- 'entityName' => $entity->get(Field::NAME),+ 'relatedName' => $entity->get(Field::NAME),'isNew' => $entity->isNew(),'userId' => $this->user->getId(),'userName' => $this->user->getName(),