From: justdave%syndicomm.com <> Date: Tue, 8 Jul 2003 13:50:05 +0000 (+0000) Subject: Bug 211758: checksetup.pl was trying to use params that didn't exist yet because... X-Git-Tag: bugzilla-2.17.5~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbb4e677fddfde681f70b7b02650f8496473e0c7;p=thirdparty%2Fbugzilla.git 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 r= justdave, a= justdave --- diff --git a/checksetup.pl b/checksetup.pl index df785d8328..bec389a716 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -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 " .