diff options
author | ivan <ivan> | 2005-09-22 22:25:23 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-09-22 22:25:23 +0000 |
commit | 2ffb2484b5ccc1400dfd5676d99d19f447c9130a (patch) | |
tree | 90ca7e1762ee73cff14af813a5c4545d2b424632 /rt/lib/RT/URI | |
parent | 0186436eb38e70da0a015e49dab67cec5f1a3467 (diff) |
should fix problem with empty (dir-less) Conf showing up
Diffstat (limited to 'rt/lib/RT/URI')
-rw-r--r-- | rt/lib/RT/URI/freeside/Internal.pm | 5 |
1 files 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(@_)); |