}
}
- $customField = CRM_Utils_Array::value($name, $this->_customFields);
+ $customField = $this->_customFields[$name] ?? NULL;
if (!empty($_POST) && empty($_POST[$name])) {
if ($customField) {
CRM_Core_Error::statusBounce(ts('This profile does not have the map feature turned on.'));
}
- $groupId = CRM_Utils_Array::value('limit_listings_group_id', $details);
+ $groupId = $details['limit_listings_group_id'] ?? NULL;
// add group id to params if a uf group belong to a any group
if ($groupId) {