aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-04-27 20:43:12 +0000
committergerv%gerv.net <>2003-04-27 20:43:12 +0000
commit61fa0b00b8e31c0e652320e84421569554828949 (patch)
treef1ea8e511dc7cbf4925c6f85b90ad2429c6c5ba1 /report.cgi
parentBug 180086 - Rename 'count' column in votes tables (diff)
downloadbugzilla-61fa0b00b8e31c0e652320e84421569554828949.tar.gz
bugzilla-61fa0b00b8e31c0e652320e84421569554828949.tar.bz2
bugzilla-61fa0b00b8e31c0e652320e84421569554828949.zip
Bug 197171 - report.cgi: Use of uninitialized value in numeric lt. Patch by gerv; r,a=justdave.
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/report.cgi b/report.cgi
index 2a081606b..c311cc797 100755
--- a/report.cgi
+++ b/report.cgi
@@ -214,9 +214,7 @@ if ($cgi->param('format') eq "bar") {
$min_width *= (scalar(@row_names) || 1);
}
- if ($width < $min_width) {
- $width = $min_width;
- }
+ $vars->{'min_width'} = $min_width;
}
$vars->{'width'} = $width if $width;