$params['financial_type_id'] = $financialType->id;
//create an contribution address
- if (
- $form->_contributeMode != 'notify' && empty($params['is_pay_later']) && !empty($form->_values['is_monetary'])) {
+ if ($form->_contributeMode != 'notify' && empty($params['is_pay_later']) && !empty($form->_values['is_monetary'])) {
$addressID = CRM_Contribute_BAO_Contribution::createAddress($params, $form->_bltID);
}
/**
* Returns array of contribution_pages matching a set of one or more group properties
*
- * @param array $params (referance) Array of one or more valid
- * property_name=>value pairs. If $params is set
- * as null, all contribution_pages will be returned
+ * @param array $params Array of one or more valid property_name=>value pairs.
*
- * @return array (referance) Array of matching contribution_pages
+ * @return array API Result array Array of matching contribution_pages
* {@getfields contribution_page_get}
* @access public
*/