diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index cbe94ef8cb..24cfd6f10c 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -6668,6 +6668,12 @@ function events_get_instructions($event) return ''; } + $max_text_length = 300; + $over_text = io_safe_output($value); + if (strlen($over_text) > ($max_text_length + 3)) { + $over_text = substr($over_text, 0, $max_text_length).'...'; + } + $output = '