diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index a2ea6a2e3e..957dfeb884 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -2328,7 +2328,7 @@ function events_page_comments ($event, $childrens_ids = array()) { $table_comments->style[1] = 'text-align: left;'; $table_comments->class = "alternate rounded_cells"; - $event_comments = io_safe_output($event["user_comment"]); + $event_comments = $event["user_comment"]; $event_comments = str_replace( array("\n", ' '), "
", $event_comments); // If comments are not stored in json, the format is old @@ -2343,7 +2343,6 @@ function events_page_comments ($event, $childrens_ids = array()) { else { $comments_format = 'new'; } - switch($comments_format) { case 'new':