Merge pull request #17551 from eileenmcnaughton/guzzle
[civicrm-core.git] / CRM / Custom / Form / Field.php
index e61d23ed803ce27ae2468052c1eb234dfd82add6..b7597bfe5f12eab9b2e76488d54d8a8dbf1b48aa 100644 (file)
@@ -121,7 +121,7 @@ class CRM_Custom_Form_Field extends CRM_Core_Form {
     }
 
     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.");
     }
 
     if ($this->_gid) {