Remove fatal from form
authoreileen <emcnaughton@wikimedia.org>
Mon, 10 Feb 2020 06:04:09 +0000 (19:04 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 10 Feb 2020 06:04:09 +0000 (19:04 +1300)
CRM/Contribute/Form/CancelSubscription.php

index e02ae64bb5860f1c211cf476dd5a5b2de209cfc8..4cbac2cfb6cac0533e45cf399ded972a1d1be75b 100644 (file)
@@ -68,7 +68,7 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Contribute_Form_Contrib
 
     if ($this->_coid) {
       if (CRM_Contribute_BAO_Contribution::isSubscriptionCancelled($this->_coid)) {
-        CRM_Core_Error::fatal(ts('The recurring contribution looks to have been cancelled already.'));
+        CRM_Core_Error::statusBounce(ts('The recurring contribution looks to have been cancelled already.'));
       }
       $this->_paymentProcessorObj = CRM_Financial_BAO_PaymentProcessor::getProcessorForEntity($this->_coid, 'contribute', 'obj');