diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index d951a65b03..afc8e924cc 100755 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -6492,8 +6492,6 @@ function chooseType() { break; case 'custom_render': - $("#row_description").show(); - $("#row_period").show(); $("#row_macros_definition").show(); $("#row_render_definition").show(); break; diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index f1d112e45d..6bf29c1235 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -4884,7 +4884,7 @@ function reporting_custom_render($report, $content, $type='dinamic', $pdf=0) '', $config['fontpath'], $config['font_size'], - 2, + ($pdf === true) ? 2 : 1, 'hidden', '', true @@ -4939,7 +4939,7 @@ function reporting_custom_render($report, $content, $type='dinamic', $pdf=0) false, false ), - 'ttl' => 2, + 'ttl' => ($pdf === true) ? 2 : 1, 'show_unknown' => true, 'height' => $height, 'backgroundColor' => 'transparent',