Reports : fix for the html_header feature.

skala
jkbockstael 14 years ago
parent 6083e222ca
commit 9eccc1b350
  1. 4
      main/reports/reports.php

@ -115,8 +115,8 @@ if (is_array($reports_template[$_REQUEST['type']])) {
}
if ($_REQUEST['format'] == 'html' || $_REQUEST['format'] == 'directlink') {
if (isset($reports_template[$_REQUEST['type']['html_header']])) {
echo $reports_template[$_REQUEST['type']['html_header']];
if (isset($reports_template[$_REQUEST['type']]['html_header'])) {
echo $reports_template[$_REQUEST['type']]['html_header'];
}
echo '<script type="text/javascript" charset="utf-8">
$(document).ready(function() {

Loading…
Cancel
Save