fix v3 batch name problem
authorChristopher Burger <burgerc@freeside.biz>
Thu, 1 Feb 2018 18:05:23 +0000 (13:05 -0500)
committerChristopher Burger <burgerc@freeside.biz>
Thu, 1 Feb 2018 18:05:23 +0000 (13:05 -0500)
FS/FS/cdr/Import.pm

index d517a21..86a1a86 100644 (file)
@@ -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;