diff options
author | travis%sedsystems.ca <> | 2005-02-23 00:01:31 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-23 00:01:31 +0000 |
commit | 8b4d0095a9a2c3e5543122ccb3fea24d72d094f1 (patch) | |
tree | d40819b9092a685c3642cd509cacf5cf540426fa /reports.cgi | |
parent | f526db6ad99edefb87aa7f9212438aac7cabea52 (diff) | |
download | bugs-8b4d0095a9a2c3e5543122ccb3fea24d72d094f1.tar bugs-8b4d0095a9a2c3e5543122ccb3fea24d72d094f1.tar.gz bugs-8b4d0095a9a2c3e5543122ccb3fea24d72d094f1.tar.bz2 bugs-8b4d0095a9a2c3e5543122ccb3fea24d72d094f1.tar.xz bugs-8b4d0095a9a2c3e5543122ccb3fea24d72d094f1.zip |
Bug 176011 : reports.cgi throws a scary error if collectstats has never been run
Patch by Vlad Dascalu <vladd@bugzilla.org> r=mkanat a=justdave
Diffstat (limited to 'reports.cgi')
-rwxr-xr-x | reports.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/reports.cgi b/reports.cgi index 685b16418..a3e2c740e 100755 --- a/reports.cgi +++ b/reports.cgi @@ -71,8 +71,6 @@ push( @myproducts, GetSelectableProducts()); if (! defined $cgi->param('product')) { - print $cgi->header(); - PutHeader("Bug Charts"); choose_product(@myproducts); PutFooter(); @@ -122,6 +120,9 @@ sub choose_product { open(DATA, "$dir/$datafile") || ThrowCodeError("chart_file_open_fail", {filename => "$dir/$datafile"}); + print $cgi->header(); + PutHeader("Bug Charts"); + print <<FIN; <center> <h1>Welcome to the Bugzilla Charting Kitchen</h1> |