public function run() {
//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.'));
}
$summary = CRM_Case_BAO_Case::getCasesSummary(TRUE);