----------------------------------------
* CRM-15139: Batch update does not show values when using custom fields limited by event type
https://issues.civicrm.org/jira/browse/CRM-15139
);
}
$entityColumnValueRole = CRM_Utils_Array::value($roleId, $entityColumnValue);
- $entityColumnValueEventType = CRM_Utils_Array::value(array_search($eventTypeId, $entityColumnValue), $entityColumnValue);
+ $entityColumnValueEventType = in_array($eventTypeId, $entityColumnValue) ? $eventTypeId : NULL;
if (($this->_roleCustomDataTypeID == $customValue['extends_entity_column_id']) &&
($entityColumnValueRole)
) {