Fixed some scrut issues labelled Major

This commit is contained in:
laf
2015-07-15 22:04:19 +01:00
parent c2bcb69982
commit ef6d7b9565
7 changed files with 8 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ require 'includes/authenticate.inc.php';
$report = mres($vars['report']);
if (!empty($report) && file_exists("includes/reports/$report.csv.inc.php")) {
if ($debug == false) {
if ($debug === false) {
header('Content-Type: text/csv');
header('Content-Disposition: attachment; filename="'.$report.'-'.date('Ymd').'.csv"');
}