From 6661416841b617cd1bb3927146403553a33c55be Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Wed, 23 Feb 2005 00:02:07 +0000 Subject: [PATCH] Bug 176011 : reports.cgi throws a scary error if collectstats has never been run Patch by Vlad Dascalu r=mkanat a=justdave --- reports.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reports.cgi b/reports.cgi index 685b16418d..a3e2c740e0 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 <

Welcome to the Bugzilla Charting Kitchen

-- 2.47.2