Merge pull request #17719 from civicrm/5.27
[civicrm-core.git] / CRM / Custom / Page / Field.php
index 708b342a24e53a832f09d1fd6eaf6c0d27652121..d10a73dfa375fefea6e3a829ca2807702bbfb350 100644 (file)
@@ -226,7 +226,7 @@ class CRM_Custom_Page_Field extends CRM_Core_Page {
     }
 
     if ($isReserved = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $this->_gid, 'is_reserved', 'id')) {
-      CRM_Core_Error::fatal("You cannot add or edit fields in a reserved custom field-set.");
+      CRM_Core_Error::statusBounce("You cannot add or edit fields in a reserved custom field-set.");
     }
 
     $action = CRM_Utils_Request::retrieve('action', 'String',