From 079545d1fa6925f61c279f856afd4ee159845300 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 2 Jan 2017 10:05:11 +0100 Subject: [PATCH] fixed ticket 4312 --- .../godmode/reporting/reporting_builder.item_editor.php | 2 +- pandora_console/include/functions_reporting_html.php | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 9e06ac94e2..91c16e0a27 100755 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -1330,7 +1330,7 @@ You can of course remove the warnings, that's why we include the source and do n - + colspan[2][0] = 2; $data = array(); $data[0] = html_print_table($table1, true); - $data2 = array(); - $data2[0] = html_print_table($table2, true); array_push ($table->data, $data); - array_push ($table->data, $data2); + + if ($item['resume']['resume']){ + $data2 = array(); + $data2[0] = html_print_table($table2, true); + array_push ($table->data, $data2); + } if ($item['resume']['resume'] && !empty($item["data"])) { $table1->width = '99%';