diff options
Diffstat (limited to 'reports.cgi')
-rwxr-xr-x | reports.cgi | 6 |
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) |