Patch by Vlad Dascalu <vladd@bugzilla.org> r=mkanat a=justdave
if (! defined $cgi->param('product')) {
- print $cgi->header();
- PutHeader("Bug Charts");
choose_product(@myproducts);
PutFooter();
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>