CRM-15555 - Fix fatal error from protected vars (contactID and context).
authorDave Greenberg <dave@civicrm.org>
Mon, 10 Nov 2014 22:58:55 +0000 (14:58 -0800)
committerDave Greenberg <dave@civicrm.org>
Mon, 10 Nov 2014 22:58:55 +0000 (14:58 -0800)
----------------------------------------
* CRM-15555:
  https://issues.civicrm.org/jira/browse/CRM-15555

CRM/Member/Form/MembershipRenewal.php

index cf6d85653c0890dda2b42ea0ab0e612ee156bb8b..5f145597d2c6aa0fca22ba469df2f4f642de860e 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form {
   /*
   * Contact ID of the member
   */
-  protected $_contactID = null;
+  public $_contactID = null;
   /*
   * Display name of the person paying for the membership (used for receipts)
   */
@@ -70,7 +70,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form {
    * context would be set to standalone if the contact is use is being selected from
    * the form rather than in the URL
    */
-  protected $_context;
+  public $_context;
 
   /**
    * An array to hold a list of datefields on the form