diff --git a/pandora_console/godmode/events/event_edit_filter.php b/pandora_console/godmode/events/event_edit_filter.php index af086d55d7e..87e0a6e203e 100644 --- a/pandora_console/godmode/events/event_edit_filter.php +++ b/pandora_console/godmode/events/event_edit_filter.php @@ -370,7 +370,7 @@ $table->data[6][0] = ''.__('Free search').''; $table->data[6][1] = html_print_input_text( 'search', - io_safe_output($search), + $search, '', 15, 255, diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index faa13edcb52..14458583401 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -1123,13 +1123,13 @@ function events_get_all( $sql_filters[] = sprintf( ' AND JSON_VALID(custom_data) = 1 AND (JSON_EXTRACT(custom_data, "$.*") LIKE lower("%%%s%%") COLLATE utf8mb4_0900_ai_ci) ', - io_safe_output($filter['custom_data']) + io_safe_output_html($filter['custom_data']) ); } else { $sql_filters[] = sprintf( ' AND JSON_VALID(custom_data) = 1 AND (JSON_SEARCH(JSON_KEYS(custom_data), "all", lower("%%%s%%") COLLATE utf8mb4_0900_ai_ci) IS NOT NULL) ', - io_safe_output($filter['custom_data']) + io_safe_output_html($filter['custom_data']) ); } } else { diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index e95f16b355b..937c3b70fc8 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -2880,11 +2880,11 @@ function reorder_tags_inputs() { $("#text-event_view_hr").on("keyup",function(){ hours = $('#text-event_view_hr').val(); if (hours == '' || hours == 0 ) { - $('#summary_hours').html(''); + $('#summary_hours').text(''); } else if (hours == 1) { - $('#summary_hours').html(''); + $('#summary_hours').text(''); } else { - $('#summary_hours').html(hours + ''); + $('#summary_hours').text(hours + ''); } });