Skip to content
Snippets Groups Projects
Commit 735fe42d authored by pratik.joshi's avatar pratik.joshi
Browse files

CRM-13115 fix

parent d30b0706
No related branches found
No related tags found
No related merge requests found
......@@ -544,8 +544,8 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
$this->_params[$v] = $frequencyUnits[$this->_params[$v]];
}
}
if ($v == "amount") {
$this->_params[$v] = CRM_Utils_Money::format($this->_params[$v], ' ');
if ($v == "amount" && $this->_params[$v] === 0) {
$this->_params[$v] = CRM_Utils_Money::format($this->_params[$v], NULL, NULL, TRUE);
}
$this->assign($v, $this->_params[$v]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment