summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2003-03-01 03:14:13 +0000
committerivan <ivan>2003-03-01 03:14:13 +0000
commit9393572515459abd1e357e2a8818d16834c23b82 (patch)
tree5255fc3df3bf362f97d7323b6756adb5b5a75fd4
parent56fcc6ca818acbb582c525cc15f46ea9569f0e60 (diff)
change next bill date comparison from < to <=
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 7045f96d2..f8578f901 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -973,7 +973,7 @@ sub bill {
my $sdate;
if ( $part_pkg->getfield('freq') > 0 &&
! $cust_pkg->getfield('susp') &&
- ( $cust_pkg->getfield('bill') || 0 ) < $time
+ ( $cust_pkg->getfield('bill') || 0 ) <= $time
) {
my $recur_prog = $part_pkg->getfield('recur');
$recur_prog =~ /^(.*)$/ or do {