From bbb4e677fddfde681f70b7b02650f8496473e0c7 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Tue, 8 Jul 2003 13:50:05 +0000 Subject: 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 --- checksetup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index df785d832..bec389a71 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 " . -- cgit v1.2.3-24-g4f1b