X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FForm%2FCustomData.php;h=022534ea151568443f4524745f970f583b3b65f8;hb=76f1a3f2a53b1a3a03df8cf3ff33a1a32c84cc6b;hp=9e9a6425aaf1d70f7c0febdada3557fec52144d3;hpb=d44c681d9105af668449d16d9f53832d7982f47e;p=civicrm-core.git diff --git a/CRM/Contact/Form/CustomData.php b/CRM/Contact/Form/CustomData.php index 9e9a6425aa..022534ea15 100644 --- a/CRM/Contact/Form/CustomData.php +++ b/CRM/Contact/Form/CustomData.php @@ -1,7 +1,7 @@ _cdType = CRM_Utils_Array::value('type', $_GET); $this->assign('cdType', FALSE); $this->_multiRecordDisplay = CRM_Utils_Request::retrieve('multiRecordDisplay', 'String', $this); @@ -178,7 +175,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { * Build the form object * * @return void - * @access public */ public function buildQuickForm() { if ($this->_cdType || $this->_multiRecordDisplay == 'single') { @@ -236,11 +232,10 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { /** * Set the default form values * - * @access protected * * @return array the default array reference */ - function setDefaultValues() { + public function setDefaultValues() { if ($this->_cdType || $this->_multiRecordDisplay == 'single') { if ($this->_copyValueId) { // cached tree is fetched @@ -294,7 +289,6 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { /** * Process the user submitted custom data values. * - * @access public * * @return void */ @@ -318,4 +312,4 @@ class CRM_Contact_Form_CustomData extends CRM_Core_Form { // reset the group contact cache for this group CRM_Contact_BAO_GroupContactCache::remove(); } -} \ No newline at end of file +}