summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-12-03 23:15:34 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-12-03 23:21:12 -0600
commit104fd2deee705abe830e537fb892e1d993900836 (patch)
tree12a4f8b504b6ab7006715143d419f80f1351cfc1
parente70fc3984596c904457a2e6c6dc4908d15635ddf (diff)
RT#37901: Galactic Telecom CDRs [overlap is better than a gap]
-rw-r--r--FS/bin/freeside-cdr-portaone-import2
1 files changed, 1 insertions, 1 deletions
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