mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#13079 fixed group events
This commit is contained in:
parent
e682a44d8b
commit
47895f5f66
@ -675,7 +675,14 @@ if (is_ajax() === true) {
|
||||
|
||||
$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]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user