safe output in _event_date_ (custom responses)

This commit is contained in:
fbsanchez 2020-10-29 18:08:02 +01:00
parent b92cfc6c10
commit c4d9c0851a

@ -6988,7 +6988,9 @@ function events_get_field_value_by_event_id(
if (strpos($value, '_event_date_') !== false) {
$value = str_replace(
'_event_date_',
date($config['date_format'], $event['utimestamp']),
io_safe_output(
date($config['date_format'], $event['utimestamp'])
),
$value
);
}