From: Christopher Burger Date: Thu, 25 Jan 2018 17:27:36 +0000 (-0500) Subject: RT# 79121 - fixed error with loading files with option a X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=1374fba6373cbc64fce9e3aeec3f0d7b7d858c45 RT# 79121 - fixed error with loading files with option a --- diff --git a/FS/bin/freeside-cdr-aninetworks-import b/FS/bin/freeside-cdr-aninetworks-import index a8fc0cbfd..b5fc226a4 100755 --- a/FS/bin/freeside-cdr-aninetworks-import +++ b/FS/bin/freeside-cdr-aninetworks-import @@ -61,8 +61,8 @@ if ( $opt_a ) { if ($most_recent) { if ($most_recent->cdrbatch =~ /^*Daily_(\d+)_/) { my $date = $1; - warn "limiting to dates > $date (from most recent batch)\n" if $opt_v; - @files = grep { /^*Daily_(\d+)_/ && $1 > $date } @files; + warn "limiting to dates >= $date (from most recent batch)\n" if $opt_v; + @files = grep { /^*Daily_(\d+)_/ && $1 >= $date } @files; } } }