CRM-13159 need to assign var to tpl
authoreileen <eileen@fuzion.co.nz>
Tue, 6 Aug 2013 21:15:47 +0000 (09:15 +1200)
committereileen <eileen@fuzion.co.nz>
Tue, 6 Aug 2013 21:15:47 +0000 (09:15 +1200)
CRM/Member/Form/Membership.php

index dae3cb4c06be2b9e9a56f2406211c434c383e548..e768561bd177d1ce671b22a430ebf679b32dc7fe 100644 (file)
@@ -121,7 +121,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
     $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this);
     $this->_contactID = CRM_Utils_Request::retrieve('cid', 'Positive', $this);
     $this->_processors = array();
-
+    CRM_Core_Resources::singleton()->addSetting(array('ids' => array('contact' => $this->_contactID)));
 
     // check for edit permission
     if (!CRM_Core_Permission::checkActionPermission('CiviMember', $this->_action)) {