From aa9fd844aeeb385cfc1e934eb7b7a08b1353a4ea Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 1 May 2006 13:09:11 +0000 Subject: [PATCH] small fix to make prorate behave on the 1st as it did before --- FS/FS/part_pkg/prorate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = -- 2.11.0