Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
fix footer in csv
Browse files Browse the repository at this point in the history
  • Loading branch information
David Durieux committed Jun 10, 2016
1 parent 7655c60 commit 8371999
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@ function plugin_init_fusioninventory() {
}

if (isset($_SESSION["glpiname"])) {
if (strstr($_SERVER['SCRIPT_FILENAME'], '/front/')) {
if (strstr($_SERVER['SCRIPT_FILENAME'], '/front/')
&& !strstr($_SERVER['SCRIPT_FILENAME'], 'report.dynamic.php')) {
register_shutdown_function('plugin_fusioninventory_footer', $CFG_GLPI['root_doc']);
}
$report_list = array();
Expand Down Expand Up @@ -578,4 +579,4 @@ function plugin_fusioninventory_footer($baseroot) {
echo "</table>";
echo "</div>";
}
?>
?>

0 comments on commit 8371999

Please sign in to comment.