From f82cf0ed9bde08ae2dfb18a73306c37ef97b0172 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 17 Jul 2014 21:28:06 +1200 Subject: [PATCH] fix inconsistent return value from fn putting this in the queue when I remember as deep in something else but it fixed a fatal on off-site payment processor --- CRM/Member/BAO/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index 4b0cea95c8..d900d6f28e 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -2361,7 +2361,7 @@ INNER JOIN civicrm_contact contact ON ( contact.id = membership.contact_id AND ); } - return $membership; + return array($membership, $renewalMode, $dates); } // Check and fix the membership if it is STALE -- 2.25.1