minor fix
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 22 Jun 2015 17:19:31 +0000 (22:49 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Mon, 22 Jun 2015 17:19:31 +0000 (22:49 +0530)
CRM/Report/Form/Contribute/Recur.php

index 1e5ac4ca372ab83f10f3676b4c1917d5c0918544..d638a6da6702eca6404104b7b81f92ef4546505b 100644 (file)
@@ -368,9 +368,10 @@ class CRM_Report_Form_Contribute_Recur extends CRM_Report_Form {
 
       if ($value = CRM_Utils_Array::value('civicrm_contribution_recur_amount', $row)) {
         $rows[$rowNum]['civicrm_contribution_recur_amount'] = CRM_Utils_Money::format($rows[$rowNum]['civicrm_contribution_recur_amount'], $rows[$rowNum]['civicrm_contribution_recur_currency']);
+      }
+      if ($value = CRM_Utils_Array::value('civicrm_contribution_recur_installment_amount', $row)) {
         $rows[$rowNum]['civicrm_contribution_recur_installment_amount'] = CRM_Utils_Money::format($rows[$rowNum]['civicrm_contribution_recur_installment_amount'], $rows[$rowNum]['civicrm_contribution_recur_currency']);
       }
-
     }
   }