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 git-svn-id: svn://10.0.0.236/trunk@169596 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6b16ba09e6
commit
bd5ef25eac
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user