Merge pull request #24162 from colemanw/savedSearchLabel
[civicrm-core.git] / CRM / Core / Page / Redirect.php
index 15141ae4f021258de5af189e17af8310f6fc662c..4f0b83dde4b60267b614c0890064518c8b989ea6 100644 (file)
@@ -38,7 +38,7 @@ class CRM_Core_Page_Redirect extends CRM_Core_Page {
    */
   public static function createUrl($requestPath, $requestArgs, $pageArgs, $absolute) {
     if (empty($pageArgs['url'])) {
-      CRM_Core_Error::fatal('This page is configured as a redirect, but it does not have a target.');
+      CRM_Core_Error::statusBounce(ts('This page is configured as a redirect, but it does not have a target.'));
     }
 
     $vars = [];