From 865d8a5443f652c9a48ad8caf3330d339623410c Mon Sep 17 00:00:00 2001 From: Avikarsha Saha Date: Wed, 3 Jul 2024 14:56:23 +0530 Subject: [PATCH] string concat --- EventListener/TokenSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EventListener/TokenSubscriber.php b/EventListener/TokenSubscriber.php index 0751c321c..0cd4d62b3 100644 --- a/EventListener/TokenSubscriber.php +++ b/EventListener/TokenSubscriber.php @@ -350,7 +350,7 @@ public function onTokenReplacement(TokenReplacementEvent $event): void $isCustomObject = false; foreach ($data['filters'] as $filter) { - $customFieldValues = $this->getCustomFieldDataForLead($filter['filters'], (int) $lead['id']); + $customFieldValues = $this->getCustomFieldDataForLead($filter['filters'], (string) $lead['id']); foreach ($customFieldValues as $field => $values) { foreach ($values as $value) {