CRM-12882 - Change fatal to statusBounce.
authorDave Greenberg <dave@civicrm.org>
Mon, 19 May 2014 17:57:35 +0000 (10:57 -0700)
committerDave Greenberg <dave@civicrm.org>
Mon, 19 May 2014 17:57:35 +0000 (10:57 -0700)
----------------------------------------
* CRM-12882:
  https://issues.civicrm.org/jira/browse/CRM-12882

CRM/Admin/Form/PaymentProcessor.php

index 8453954760ec318cfc69c13dd397b538399123ae..a2a074250c4c85529be8e961f9ab85abd4a391a3 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
 
   function preProcess() {
     if(!CRM_Core_Permission::check('administer payment processors')) {
-      CRM_Core_Error::fatal('The \'administer payment processors\' permission is required to add or edit a payment processor.');
+      CRM_Core_Error::statusBounce('The \'administer payment processors\' permission is required to add or edit a payment processor.');
     }
     parent::preProcess();