X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FProfile%2FPage%2FListings.php;h=c521848e1cf74eacd51148fe9f20241bc815ece2;hb=a461078d1ec9e1f0d1ead49b408528681dc7cff8;hp=46807507ce5453ef99deaa38d17672214a9d7a9c;hpb=96d9784edbe083b434bdd8f3f192b39ad67389d9;p=civicrm-core.git diff --git a/CRM/Profile/Page/Listings.php b/CRM/Profile/Page/Listings.php index 46807507ce..c521848e1c 100644 --- a/CRM/Profile/Page/Listings.php +++ b/CRM/Profile/Page/Listings.php @@ -13,7 +13,6 @@ * * @package CRM * @copyright CiviCRM LLC https://civicrm.org/licensing - * */ /** @@ -100,7 +99,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { // check if we are rendering mixed profiles if (CRM_Core_BAO_UFGroup::checkForMixProfiles($this->_profileIds)) { - CRM_Core_Error::fatal(ts('You cannot combine profiles of multiple types.')); + CRM_Core_Error::statusBounce(ts('You cannot combine profiles of multiple types.')); } $this->_gid = $this->_profileIds[0]; @@ -282,7 +281,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page { $ufgroupDAO = new CRM_Core_DAO_UFGroup(); $ufgroupDAO->id = $this->_gid; if (!$ufgroupDAO->find(TRUE)) { - CRM_Core_Error::fatal(); + CRM_Core_Error::statusBounce('Unable to find matching UF Group'); } }