From ff1e18656630d1ff1366241ed3eadc65c4cdfd98 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 16 Aug 2021 16:37:30 +1200 Subject: [PATCH] Membership batch processing error This fixes a fatal because of incorrect typing Affects 5.40 --- CRM/Batch/Form/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index 79971447be..fca0f59190 100644 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -1018,7 +1018,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { * @throws \CRM_Core_Exception * @throws \CiviCRM_API3_Exception */ - protected function legacyProcessMembership($contactID, $membershipTypeID, $customFieldsFormatted, $membershipSource, $memParams = [], $formDates = []): CRM_Member_BAO_Membership { + protected function legacyProcessMembership($contactID, $membershipTypeID, $customFieldsFormatted, $membershipSource, $memParams = [], $formDates = []): CRM_Member_DAO_Membership { $updateStatusId = FALSE; $changeToday = NULL; $is_test = FALSE; -- 2.25.1