diff options
author | Mark Wells <mark@freeside.biz> | 2015-02-24 15:13:35 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-02-24 15:13:35 -0800 |
commit | 6a7acbedcaa251d104b9cdfc3875b5e5274f8a9a (patch) | |
tree | 6a90e0b6e650c65a4f54ecfaba58f8d9546cebe7 /FS | |
parent | 52e5c0e05140ae3b1ae0bfd7486ac33a3af6f55c (diff) |
fix incorrect use of FS::Conf, #27276
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/detail_format.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/detail_format.pm b/FS/FS/detail_format.pm index e49a9f94b..be84680f9 100644 --- a/FS/FS/detail_format.pm +++ b/FS/FS/detail_format.pm @@ -63,13 +63,13 @@ sub new { my %opt = @_; my $locale = $opt{'locale'} || ''; - my $conf = FS::Conf->new(locale => $locale); + my $conf = FS::Conf->new({ locale => $locale }); $locale ||= $conf->config('locale') || 'en_US'; my %locale_info = FS::Locales->locale_info($locale); my $language_name = $locale_info{'name'}; - my $self = { conf => FS::Conf->new(locale => $locale), + my $self = { conf => FS::Conf->new({ locale => $locale }), csv => Text::CSV_XS->new({ binary => 1 }), inbound => ($opt{'inbound'} ? 1 : 0), buffer => ($opt{'buffer'} || []), |