From 4999f6d217dc47f4e6b42d0e60fc898c5feeb97e Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Fri, 21 Apr 2023 12:59:31 +0100 Subject: [PATCH] Include subtypes if passed to avoid 61 join limit for Mysql on Custom groups --- api/v3/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/utils.php b/api/v3/utils.php index 11507b7c0a..aaf363636c 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -1417,7 +1417,7 @@ function _civicrm_api3_custom_data_get(&$returnArray, $checkPermission, $entity, NULL, $entity_id, $groupID, - NULL, + $subType, $subName, TRUE, NULL, -- 2.25.1