[freeside-commits] branch FREESIDE_3_BRANCH updated. 3e87bee8edfcfb9a153057dfab47a30787bed9c2

Mark Wells mark at 420.am
Tue Feb 24 15:17:49 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  3e87bee8edfcfb9a153057dfab47a30787bed9c2 (commit)
      from  de89844a6491378da978014c844213ad3c3a118e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3e87bee8edfcfb9a153057dfab47a30787bed9c2
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Feb 24 15:17:42 2015 -0800

    fix incorrect use of FS::Conf, #27276

diff --git a/FS/FS/detail_format.pm b/FS/FS/detail_format.pm
index b072ff5..8840a00 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'} || []),

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/detail_format.pm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list