Swap out fatal for statusBounce for disabled or unpermittted forms
[civicrm-core.git] / CRM / Event / Page / ParticipantListing / NameStatusAndDate.php
index a15c5928e8ba7a7e32240148eb87b50b3d2782b0..fef5ae7b12e1206f566dead8affa5e894eb66f1d 100644 (file)
@@ -35,7 +35,7 @@ class CRM_Event_Page_ParticipantListing_NameStatusAndDate extends CRM_Core_Page
       'participant_listing_id'
     );
     if (!$this->_participantListingID) {
-      CRM_Core_Error::fatal(ts("The Participant Listing feature is not currently enabled for this event."));
+      CRM_Core_Error::statusBounce(ts("The Participant Listing feature is not currently enabled for this event."));
     }
 
     // retrieve Event Title and include it in page title