From a06b181e0f0451ad837214c24a546dc44025af9b Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 3 Dec 2015 23:15:34 -0600 Subject: [PATCH] RT#37901: Galactic Telecom CDRs [overlap is better than a gap] --- FS/bin/freeside-cdr-portaone-import | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/bin/freeside-cdr-portaone-import b/FS/bin/freeside-cdr-portaone-import index 9a02a7259..5b28e3f8b 100644 --- a/FS/bin/freeside-cdr-portaone-import +++ b/FS/bin/freeside-cdr-portaone-import @@ -53,7 +53,7 @@ unless ($startdate) { 'hashref' => { 'cdrbatch' => {op=>'like', value=>'portaone-import%'}}, 'order_by' => 'ORDER BY _date DESC LIMIT 1', }); - $startdate = time2str("%Y-%m-%d %H:%M:%S", $lastbatch->_date + 1) if $lastbatch; + $startdate = time2str("%Y-%m-%d %H:%M:%S", $lastbatch->_date) if $lastbatch; } $startdate ||= '2010-01-01 00:00:00'; #seems decently in the past -- 2.11.0