From 2ffb2484b5ccc1400dfd5676d99d19f447c9130a Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 22 Sep 2005 22:25:23 +0000 Subject: [PATCH] should fix problem with empty (dir-less) Conf showing up --- rt/lib/RT/URI/freeside/Internal.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rt/lib/RT/URI/freeside/Internal.pm b/rt/lib/RT/URI/freeside/Internal.pm index 4f5a73ee7..9ca06306d 100644 --- a/rt/lib/RT/URI/freeside/Internal.pm +++ b/rt/lib/RT/URI/freeside/Internal.pm @@ -28,7 +28,7 @@ use strict; no warnings qw(redefine); -use vars qw($conf); +#use vars qw($conf); use FS; use FS::UID qw(dbh); @@ -94,7 +94,8 @@ sub FreesideVersion { sub FreesideGetConfig { - $conf = new FS::Conf unless ref($conf); + #$conf = new FS::Conf unless ref($conf); + my $conf = new FS::Conf; return scalar($conf->config(@_)); -- 2.11.0