mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed some scrut issues labelled Major
This commit is contained in:
@@ -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"');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user