summaryrefslogtreecommitdiff
path: root/bin/cdr-voipswitch.import
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-02-13 13:37:36 -0800
committerIvan Kohler <ivan@freeside.biz>2014-02-13 13:37:36 -0800
commit2b0b1cf5e74a29114bd7dd683240a3be9c9ab2a1 (patch)
tree8e801d7001d043e93b0a2b35121a16de7b1e09d6 /bin/cdr-voipswitch.import
parent3121656a25c75654a3fdfdf8e6036b54720ac73a (diff)
fix voipswitch import, RT#26228
Diffstat (limited to 'bin/cdr-voipswitch.import')
-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},