summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-07-08 15:50:05 +0200
committerjustdave%syndicomm.com <>2003-07-08 15:50:05 +0200
commitbbb4e677fddfde681f70b7b02650f8496473e0c7 (patch)
treec97b16dbafbcc39bb17748733dab0a3a609c6a33
parentd6fe62579ecd47f5fb679ea0536c5157030ac4df (diff)
downloadbugzilla-bbb4e677fddfde681f70b7b02650f8496473e0c7.tar.gz
bugzilla-bbb4e677fddfde681f70b7b02650f8496473e0c7.tar.xz
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
-rwxr-xr-xchecksetup.pl2
1 files changed, 1 insertions, 1 deletions
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 " .