fix inconsistent return value from fn
authorEileen McNaughton <eileen@fuzion.co.nz>
Thu, 17 Jul 2014 09:28:06 +0000 (21:28 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Thu, 17 Jul 2014 09:28:06 +0000 (21:28 +1200)
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

index 4b0cea95c84fd75e792682f63f4e13793da6ad61..d900d6f28ed42a12966edd694295b840c99d14d4 100644 (file)
@@ -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