[freeside-commits] branch FREESIDE_3_BRANCH updated. bfad2c2cd8d546309a1718f8f8705477ef1d382e

Ivan ivan at 420.am
Thu Feb 13 13:37:41 PST 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  bfad2c2cd8d546309a1718f8f8705477ef1d382e (commit)
      from  ba26dc96a041b9aaef051b14c3d8f1808f460a71 (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 bfad2c2cd8d546309a1718f8f8705477ef1d382e
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Feb 13 13:37:39 2014 -0800

    fix voipswitch import, RT#26228

diff --git a/bin/cdr-voipswitch.import b/bin/cdr-voipswitch.import
index ce5b453..817c4bc 100644
--- a/bin/cdr-voipswitch.import
+++ b/bin/cdr-voipswitch.import
@@ -121,7 +121,7 @@ my $imported = 0;
 my $row;
 while ( $row = $sth->fetchrow_hashref ) {
 
-  my $cdr = FS::cdr->new(
+  my $cdr = FS::cdr->new({
       cdrid                   => $row->{id_call},
       charged_party           => sprintf('%.2d', $row->{client_type}).
                                  $row->{id_client},

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

Summary of changes:
 bin/cdr-voipswitch.import |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list