// CRM-11766
$profileIDs = CRM_Profile_Page_Listings::getProfileContact($profileGID);
if (!in_array($cid, $profileIDs)) {
- CRM_Core_Error::fatal();
+ CRM_Core_Error::statusBounce(ts('Contact not found when building list of contacts in the profile'));
}
}
elseif ($context) {