#13079 fixed group events

This commit is contained in:
Daniel Cebrian 2024-03-21 11:04:30 +01:00
parent e682a44d8b
commit 47895f5f66

View File

@ -675,7 +675,14 @@ if (is_ajax() === true) {
$tmp->instructions = events_get_instructions($item, 15); $tmp->instructions = events_get_instructions($item, 15);
if (isset($events_comments[$tmp->server_id.'_'.$tmp->id_evento]) === true) { if ((int) $filter['group_rep'] > 0) {
$tmp->user_comment = ui_print_comments(
event_get_last_comment(
$item,
$filter
)
);
} else if (isset($events_comments[$tmp->server_id.'_'.$tmp->id_evento]) === true) {
$tmp->user_comment = ui_print_comments($events_comments[$tmp->server_id.'_'.$tmp->id_evento]); $tmp->user_comment = ui_print_comments($events_comments[$tmp->server_id.'_'.$tmp->id_evento]);
} }