From dda27a5783d6fdf1d272efa9f4251144cc116b76 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Mon, 10 Nov 2014 14:58:55 -0800 Subject: [PATCH] CRM-15555 - Fix fatal error from protected vars (contactID and context). ---------------------------------------- * CRM-15555: https://issues.civicrm.org/jira/browse/CRM-15555 --- CRM/Member/Form/MembershipRenewal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Member/Form/MembershipRenewal.php b/CRM/Member/Form/MembershipRenewal.php index cf6d85653c..5f145597d2 100644 --- a/CRM/Member/Form/MembershipRenewal.php +++ b/CRM/Member/Form/MembershipRenewal.php @@ -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 -- 2.25.1