From: Christopher Burger Date: Thu, 1 Feb 2018 18:05:23 +0000 (-0500) Subject: fix v3 batch name problem X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=abd42aa2f2e4cdbf3664da6a67174502a9ef8e18 fix v3 batch name problem --- 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;