diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 48ef7b2c30..9d6aa611d5 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -3476,7 +3476,7 @@ function events_page_responses($event) // Comments. $data = []; - $data[0] = __('Comment'); + $data[0] = __('Comsssment'); $data[1] = ''; $data[2] = html_print_button( __('Add comment'), @@ -5168,10 +5168,6 @@ function events_page_comments($event, $ajax=false, $groupedComments=[]) true ); $comments_form .= '
'; - } else { - $comments_form = ui_print_message( - __('If event replication is ongoing, it won\'t be possible to enter comments here. This option is only to allow local pandora users to see comments, but not to operate with them. The operation, when event replication is enabled, must be done only in the Metaconsole.') - ); } if ($ajax === true) { @@ -5196,9 +5192,10 @@ function events_clean_tags($tags) } $event_tags = tags_get_tags_formatted($tags, false); + $event_tags = str_replace(' ', '', $event_tags); $event_tags = io_safe_input($event_tags); - return explode(',', str_replace(' ', '', $event_tags)); + return explode(',', $event_tags); }