From 2ec84d8c61c5d9d33d039519adcf70bda03d2eec Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 2 Mar 2017 12:14:19 +0100 Subject: [PATCH] truncate name and description for report --- pandora_console/godmode/reporting/reporting_builder.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index 65d1aa2eca..a03b4e4d4d 100755 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -594,14 +594,14 @@ switch ($action) { if (check_acl ($config["id_user"], $report["id_group"], "RW") || check_acl ($config["id_user"], $report["id_group"], "RM")) { $data[0] = ''.$report['name'].''; + $report['id_report'].'&pure='.$pure.'">'.ui_print_truncate_text($report['name'], 70).''; } else { - $data[0] = $report['name']; + $data[0] = ui_print_truncate_text($report['name'], 70); } - $data[1] = $report['description']; + $data[1] = ui_print_truncate_text($report['description'], 70); //Remove html and xml button if items are larger than limit $item_count = db_get_num_rows ('SELECT * FROM treport_content WHERE id_report=' . $report['id_report']);