Fix button breakage on viewContribution
[civicrm-core.git] / CRM / Contribute / Form / ContributionView.php
index e7a447c1d45a8ef571757bbde91577cc1c1a4c3d..b16ec29a04b24170db8c7d9c00d9ee9020d01575 100644 (file)
@@ -355,6 +355,7 @@ class CRM_Contribute_Form_ContributionView extends CRM_Core_Form {
     $paymentInfo = CRM_Contribute_BAO_Contribution::getPaymentInfo($id, 'contribution', TRUE);
     $title = ts('View Payment');
     $this->assign('transaction', TRUE);
+    // Used in paymentInfoBlock.tpl
     $this->assign('payments', $paymentInfo['transaction']);
     $this->assign('paymentLinks', $paymentInfo['payment_links']);
     return $title;