Commit a13f3d8c authored by totten's avatar totten
Browse files

INFRA-132 - CRM/Contribute - Misc

parent 51ccfbbe
......@@ -61,7 +61,8 @@ class CRM_Contribute_BAO_Contribution_Utils {
*
* @static
*/
static function processConfirm(&$form,
static function processConfirm(
&$form,
&$paymentParams,
&$premiumParams,
$contactID,
......
......@@ -914,7 +914,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
$componentDetails = CRM_Contribute_BAO_Contribution::getComponentDetails($this->_id);
if (CRM_Utils_Array::value('membership', $componentDetails) || CRM_Utils_Array::value('participant', $componentDetails)) {
if ($totalAmount) {
$totalAmount->freeze();
$totalAmount->freeze();
}
$financialType->freeze();
$this->assign('freezeFinancialType', TRUE);
......
......@@ -579,7 +579,8 @@ SELECT id
CRM_Price_BAO_PriceField::setIsActive($priceFieldId, '0');
}
}
else { $priceFieldId = CRM_Utils_Array::value('price_field_other', $params);
else {
$priceFieldId = CRM_Utils_Array::value('price_field_other', $params);
}
$priceSetId = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceField', $priceFieldId, 'price_set_id');
}
......
......@@ -121,7 +121,8 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser {
* @return mixed
* @throws Exception
*/
function run($fileName,
function run(
$fileName,
$seperator = ',',
&$mapper,
$skipColumnHeader = FALSE,
......
......@@ -167,7 +167,8 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
* @return \CRM_Contribute_Selector_Search
@access public
*/
function __construct(&$queryParams,
function __construct(
&$queryParams,
$action = CRM_Core_Action::NONE,
$contributionClause = NULL,
$single = FALSE,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment