Fixed CRM-14662.
authorFrank J. Gómez <frank@ginkgostreet.com>
Thu, 8 May 2014 14:17:05 +0000 (10:17 -0400)
committerFrank J. Gómez <frank@ginkgostreet.com>
Thu, 8 May 2014 14:17:05 +0000 (10:17 -0400)
----------------------------------------
* CRM-14662: Fatal error on front-end membership renewal
  https://issues.civicrm.org/jira/browse/CRM-14662

CRM/Member/BAO/Membership.php

index 6569226b6c497288903d5d3f443bc481bff36bd3..652e0d192f4c2ccbbeb2d0d4e1e56942bef1f1ef 100644 (file)
@@ -1504,14 +1504,14 @@ AND civicrm_membership.is_test = %2";
   /**
    * Function for updating a membership record's contribution_recur_id
    *
-   * @param object CRM_Member_BAO_Membership $membership
+   * @param object CRM_Member_DAO_Membership $membership
    * @param object CRM_Contribute_BAO_Contribution $contribution
    *
    * @return void
    * @static
    * @access public
    */
-  static public function updateRecurMembership(CRM_Member_BAO_Membership &$membership,
+  static public function updateRecurMembership(CRM_Member_DAO_Membership &$membership,
     CRM_Contribute_BAO_Contribution &$contribution) {
 
     if (empty($contribution->contribution_recur_id)) {