From 654a4ebbd00b5676db1cc63282c534e08e8cadb5 Mon Sep 17 00:00:00 2001 From: Marcos Alconada Date: Tue, 6 Apr 2021 16:58:05 +0000 Subject: [PATCH] remove entities when add comment --- pandora_console/include/functions_events.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index e7f9c993b1..68e23b2a63 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -5152,7 +5152,8 @@ function events_page_comments($event, $ajax=false) $childrens_ids ))) && $config['show_events_in_local'] == false || $config['event_replication'] == false ) { - $comments_form = '
'; + $event['evento'] = io_safe_output($event['evento']); + $comments_form = '
'; $comments_form .= html_print_textarea( 'comment', 3,