summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r--httemplate/misc/process/cdr-import.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/misc/process/cdr-import.html b/httemplate/misc/process/cdr-import.html
index 4848fa325..7c4bf2b59 100644
--- a/httemplate/misc/process/cdr-import.html
+++ b/httemplate/misc/process/cdr-import.html
@@ -15,7 +15,8 @@ my $fh = $cgi->upload('csvfile');
my $error = defined($fh)
? FS::cdr::batch_import( {
'filehandle' => $fh,
- 'format' => $cgi->param('format'),
+ 'format' => scalar($cgi->param('format')),
+ 'cdrbatch' => scalar($cgi->param('cdrbatch')),
} )
: 'No file';