CRM-16189, added link on contribution edit form to record payment for pending pay...
[civicrm-core.git] / CRM / Contribute / Page / PaymentInfo.php
index 9975748dc87ee5b898ba05a7e058f87bf9f1eb09..b4a519c581867241a5987efb2f3bad39f702d0a0 100644 (file)
@@ -42,6 +42,9 @@ class CRM_Contribute_Page_PaymentInfo extends CRM_Core_Page {
     $this->assign('id', $this->_id);
     $this->assign('context', $this->_context);
     $this->assign('component', $this->_component);
+    if ($this->_component != 'event') {
+      $this->assign('hideButtonLinks', TRUE);
+    }
   }
 
   public function browse() {