From a6416407e177538bd83f2954d535fad79509fe5c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 7 Feb 2023 14:46:54 +1300 Subject: [PATCH] Remove always-NULL singleRecord --- CRM/Dedupe/Merger.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Dedupe/Merger.php b/CRM/Dedupe/Merger.php index 85f5b2a0bc..18305fd611 100644 --- a/CRM/Dedupe/Merger.php +++ b/CRM/Dedupe/Merger.php @@ -1944,7 +1944,7 @@ ORDER BY civicrm_custom_group.weight, // add info to groupTree if (isset($groupTree['info']) && !empty($groupTree['info']) && - !empty($groupTree['info']['tables']) && $singleRecord != 'new' + !empty($groupTree['info']['tables']) ) { $select = $from = $where = []; $groupTree['info']['where'] = NULL; @@ -1978,7 +1978,7 @@ ORDER BY civicrm_custom_group.weight, } $multipleFieldTablesWithEntityData = array_keys($entityMultipleSelectClauses); if (!empty($multipleFieldTablesWithEntityData)) { - CRM_Core_BAO_CustomGroup::buildEntityTreeMultipleFields($groupTree, $entityID, $entityMultipleSelectClauses, $multipleFieldTablesWithEntityData, $singleRecord); + CRM_Core_BAO_CustomGroup::buildEntityTreeMultipleFields($groupTree, $entityID, $entityMultipleSelectClauses, $multipleFieldTablesWithEntityData); } } -- 2.25.1