Minor fixes

This commit is contained in:
Alejandro Gallardo Escobar 2014-10-01 12:21:08 +02:00
parent b6c077ab0e
commit c2925695bf
2 changed files with 3 additions and 2 deletions

View File

@ -112,8 +112,7 @@ $sql = "SELECT *
WHERE $where_values
ORDER BY type_execution DESC, date_from DESC";
$downtimes = @db_get_all_rows_sql($sql);
html_debug_print($sql);
html_debug_print($downtimes);
if (!empty($downtimes)) {
ob_clean();
// Show contentype header

View File

@ -63,6 +63,8 @@ $enable_init_date = get_parameter('enable_init_date', 0);
$url = "index.php?sec=reporting&sec2=operation/reporting/reporting_viewer&id=$id_report&date=$date&time=$time&pure=$pure";
$options = array();
$options['list_reports'] = array('active' => false,
'text' => '<a href="index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&pure='.$pure.'">' .
html_print_image("images/report_list.png", true, array ("title" => __('Report list'))) .'</a>');