Bug 211758: checksetup.pl was trying to use params that didn't exist yet because it was loading Bugzilla::Series at compile time (use). Now pulls in Bugzilla::Series at runtime (require) after initializing the params.

Patch by Brad Roberts <braddr@puremagic.com>
r= justdave, a= justdave
This commit is contained in:
justdave%syndicomm.com 2003-07-08 06:50:05 +00:00
parent c0d3c15a88
commit a60677927e

View File

@ -3577,7 +3577,7 @@ my $series_exists = $dbh->selectrow_array("SELECT 1 FROM series LIMIT 1");
if (!$series_exists) {
print "Migrating old chart data into database ...\n" unless $silent;
use Bugzilla::Series;
require Bugzilla::Series;
# We prepare the handle to insert the series data
my$seriesdatasth = $dbh->prepare("INSERT INTO series_data " .