Swap out fatal for statusBounce for disabled or unpermittted forms
[civicrm-core.git] / CRM / Case / Page / DashBoard.php
index 5a2d22c304ffb5a4cbb7e542006a0bf3eeee6355..856837855a70826b7665d18f552b73c644fe9271 100644 (file)
@@ -30,7 +30,7 @@ class CRM_Case_Page_DashBoard extends CRM_Core_Page {
   public function preProcess() {
     //check for civicase access.
     if (!CRM_Case_BAO_Case::accessCiviCase()) {
-      CRM_Core_Error::fatal(ts('You are not authorized to access this page.'));
+      CRM_Core_Error::statusBounce(ts('You are not authorized to access this page.'));
     }
 
     //validate case configuration.