diff --git a/application/Espo/Tools/LeadCapture/CaptureService.php b/application/Espo/Tools/LeadCapture/CaptureService.php index 757347c4bb..c5cbcf3b81 100644 --- a/application/Espo/Tools/LeadCapture/CaptureService.php +++ b/application/Espo/Tools/LeadCapture/CaptureService.php @@ -462,8 +462,7 @@ class CaptureService return new ConfirmResult( ConfirmResult::STATUS_SUCCESS, - $this->defaultLanguage - ->translateLabel('optInConfirmationExpired', 'messages', LeadCaptureEntity::ENTITY_TYPE), + $leadCapture->getOptInConfirmationSuccessMessage(), $leadCapture->getId(), $leadCapture->getName() );