From 923e91ed2dbb0286416fdfd32bb886878d94f408 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Thu, 1 Oct 2015 09:26:49 +0200 Subject: [PATCH] Fixed problems with show comment in events. Tiquet: #2820 (cherry picked from commit a72f6e051bde2373593dc632681f4d658cb26cc4) --- pandora_console/include/functions_events.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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':