*/
public static function preProcess(&$form) {
$form->_type = CRM_Utils_Request::retrieve('type', 'String');
- $form->_subType = CRM_Utils_Request::retrieve('subType', 'String');
//build the custom data as other blocks.
//$form->assign( "addBlock", false );
$form->assign("blockName", $form->_addBlockName);
}
- CRM_Custom_Form_CustomData::preProcess($form, NULL, $form->_subType, NULL,
+ CRM_Custom_Form_CustomData::preProcess($form, NULL, NULL, NULL,
($form->_type) ? $form->_type : $form->_contactType
);