diff options
Diffstat (limited to 'bin/cdr.import')
-rw-r--r-- | bin/cdr.import | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/cdr.import b/bin/cdr.import index b2e8d9127..a17417b85 100644 --- a/bin/cdr.import +++ b/bin/cdr.import @@ -13,9 +13,12 @@ adminsuidsetup $user; my $format = shift or die &usage; +my $file = shift; + my $error = FS::cdr::batch_import( { - 'file' => shift, + 'file' => $file, 'format' => $format, + 'params' => { 'cdrbatch' => $file }, } ); die $error if $error; |