summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/reports.cgi b/reports.cgi
index 612a2576f..7456c054e 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -409,7 +409,11 @@ FIN
my @dates;
my @open; my @assigned; my @reopened;
- my $file = join '/', $dir, $::FORM{'product'};
+ my $prodname = $::FORM{'product'};
+
+ $prodname =~ s/\//-/gs;
+
+ my $file = join '/', $dir, $prodname;
my $image = "$file.gif";
if (! open FILE, $file)