From 7d8736b98cab2ca5703e1cd38e79d5afd3c9da09 Mon Sep 17 00:00:00 2001 From: tanyalei Date: Mon, 20 Feb 2017 14:59:02 +0200 Subject: [PATCH] Creating Target List from Campaign Log not working in php7 creating a target list from the log bug fix(for mysql 5.7+) --- application/Espo/Modules/Crm/Services/TargetList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/Modules/Crm/Services/TargetList.php b/application/Espo/Modules/Crm/Services/TargetList.php index aa58117d77..f75c5970fd 100644 --- a/application/Espo/Modules/Crm/Services/TargetList.php +++ b/application/Espo/Modules/Crm/Services/TargetList.php @@ -112,7 +112,7 @@ class TargetList extends \Espo\Services\Record $selectParams['whereClause'][] = array( 'action=' => $includingActionList ); - $selectParams['groupBy'] = ['parentId', 'parentType']; + $selectParams['groupBy'] = ['parentId', 'parentType', 'id']; $notSelectParams['whereClause'][] = array( 'action=' => $excludingActionList