diff options
author | ivan <ivan> | 2009-11-19 09:47:02 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-11-19 09:47:02 +0000 |
commit | 457cf05ffc31212de613249c95a8ab05aed34f47 (patch) | |
tree | 0ce85765bb021c52d3c3b572a68afc49879c1a57 /FS/bin | |
parent | 8efd6f2dd2b81f42fdd573c3a194dd0eb6e28206 (diff) |
proper cdr_batch table, RT#6386
Diffstat (limited to 'FS/bin')
-rwxr-xr-x | FS/bin/freeside-cdr-sftp_and_import | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FS/bin/freeside-cdr-sftp_and_import b/FS/bin/freeside-cdr-sftp_and_import index e87698fc5..d90695f8f 100755 --- a/FS/bin/freeside-cdr-sftp_and_import +++ b/FS/bin/freeside-cdr-sftp_and_import @@ -84,10 +84,10 @@ foreach my $filename ( @$ls ) { warn "Processing $filename\n" if $opt_v; my $error = FS::cdr::batch_import( { - 'file' => "$cachedir/$filename", - 'format' => $format, - 'params' => { 'cdrbatch' => $filename, }, - 'empty_ok' => 1, + 'file' => "$cachedir/$filename", + 'format' => $format, + 'batch_namevalue' => $filename, + 'empty_ok' => 1, } ); die $error if $error; |