diff --git a/application/Espo/Tools/LeadCapture/LeadCapture.php b/application/Espo/Tools/LeadCapture/LeadCapture.php index 58712a964f..87efa14c7d 100644 --- a/application/Espo/Tools/LeadCapture/LeadCapture.php +++ b/application/Espo/Tools/LeadCapture/LeadCapture.php @@ -729,7 +729,7 @@ class LeadCapture ]); if (!empty($data->description)) { - $logRecord->set('description', $description); + $logRecord->set('description', $data->description); } $this->entityManager->saveEntity($logRecord);