From abd42aa2f2e4cdbf3664da6a67174502a9ef8e18 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Thu, 1 Feb 2018 13:05:23 -0500 Subject: [PATCH] fix v3 batch name problem --- FS/FS/cdr/Import.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0