summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-02-13 13:37:39 -0800
committerIvan Kohler <ivan@freeside.biz>2014-02-13 13:37:39 -0800
commitbfad2c2cd8d546309a1718f8f8705477ef1d382e (patch)
treefb396026d1b66a580cc8dbb8f85ff2c2bea89577
parentba26dc96a041b9aaef051b14c3d8f1808f460a71 (diff)
fix voipswitch import, RT#26228
-rw-r--r--bin/cdr-voipswitch.import2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cdr-voipswitch.import b/bin/cdr-voipswitch.import
index ce5b4539d..817c4bc73 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},