Skip to content

EspoCRM – Open Source CRM Application

load capture: load additional fields on generate

Yuriiba8c40281321
diff --git a/application/Espo/Tools/LeadCapture/Service.php b/application/Espo/Tools/LeadCapture/Service.php
index af9380b903..9cb79dc89c 100644
--- a/application/Espo/Tools/LeadCapture/Service.php
+++ b/application/Espo/Tools/LeadCapture/Service.php
@@ -84,6 +84,7 @@ class Service
$this->entityManager->saveEntity($entity);
+ $service->loadAdditionalFields($entity);
$service->prepareEntityForOutput($entity);
return $entity;
@@ -108,6 +109,7 @@ class Service
$this->entityManager->saveEntity($entity);
+ $service->loadAdditionalFields($entity);
$service->prepareEntityForOutput($entity);
return $entity;