This commit is contained in:
Yuri Kuznetsov
2022-11-23 13:48:27 +02:00
parent c8558f0cba
commit 72f51ec77c
@@ -535,7 +535,7 @@ class Service
],
]);
}
else if ($entityType == 'Lead' && $entity->get('createdAccountId')) {
else if ($entityType == Lead::ENTITY_TYPE && $entity->get('createdAccountId')) {
$builder->where([
'OR' => [
[