From 1af79101aafd3513ad1ab62dff745b4410bd6c7a Mon Sep 17 00:00:00 2001 From: Francis Whittle Date: Mon, 21 Oct 2024 16:51:48 +1100 Subject: [PATCH] CIVIMUTIL-13 Fix signature of Findduplicatemberships API call --- api/v3/Membershiputils/Findduplicatememberships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Membershiputils/Findduplicatememberships.php b/api/v3/Membershiputils/Findduplicatememberships.php index e0ecd13..3659f74 100644 --- a/api/v3/Membershiputils/Findduplicatememberships.php +++ b/api/v3/Membershiputils/Findduplicatememberships.php @@ -11,7 +11,7 @@ * * @see civicrm_api3_create_success */ -function civicrm_api3_membershiputils_Findduplicatememberships(): array { +function civicrm_api3_membershiputils_Findduplicatememberships($params): array { /* Example query to locate duplicate memberships SELECT `duplicate`.*, `current`.`id` `current_id`, `current`.`status_id` `current_status_id`, `current`.`join_date` `current_join_date`, `current`.`start_date` `current_start_date`, `current`.`end_date` `current_end_date` FROM civicrm_membership `duplicate` INNER JOIN civicrm_membership `current`