diff options
author | ivan <ivan> | 2006-05-01 13:09:11 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-05-01 13:09:11 +0000 |
commit | aa9fd844aeeb385cfc1e934eb7b7a08b1353a4ea (patch) | |
tree | 9e0a283af056046bd772ce19abac2e55c1180642 | |
parent | 168d603dd94225a837c72d6ae4a5938f1b4d13e4 (diff) |
small fix to make prorate behave on the 1st as it did before
-rw-r--r-- | FS/FS/part_pkg/prorate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg/prorate.pm b/FS/FS/part_pkg/prorate.pm index f5d447adf..e43667993 100644 --- a/FS/FS/part_pkg/prorate.pm +++ b/FS/FS/part_pkg/prorate.pm @@ -43,7 +43,7 @@ sub calc_recur { my $mend; my $mstart; - if ( $mday > $cutoff_day ) { + if ( $mday >= $cutoff_day ) { $mend = timelocal(0,0,0,$cutoff_day, $mon == 11 ? 0 : $mon+1, $year+($mon==11)); $mstart = |