summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-02-01 13:05:23 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-02-01 13:05:23 -0500
commitabd42aa2f2e4cdbf3664da6a67174502a9ef8e18 (patch)
treea17e78e4a41e6a6ccf4a227aa5228d53686a15eb
parent1599bd40c31ba026370e6371d4ffb1ad74cc9f22 (diff)
fix v3 batch name problem
-rw-r--r--FS/FS/cdr/Import.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cdr/Import.pm b/FS/FS/cdr/Import.pm
index d517a2139..86a1a86f2 100644
--- a/FS/FS/cdr/Import.pm
+++ b/FS/FS/cdr/Import.pm
@@ -110,7 +110,7 @@ sub dbi_import {
$sth->execute or die $sth->errstr. " executing $sql";
my $cdr_batch = new FS::cdr_batch({
- 'cdrbatch' => 'IVR-import-'. time2str('%Y/%m/%d-%T',time),
+ 'cdrbatch' => $args{batch_name} . '-import-'. time2str('%Y/%m/%d-%T',time),
});
my $error = $cdr_batch->insert;
die $error if $error;