From: mark Date: Wed, 8 Dec 2010 00:02:43 +0000 (+0000) Subject: fix incorrect bill dates from prorate, RT#10830 X-Git-Tag: TORRUS_1_0_9~30 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=49929cc03fc06813446ed61fe25b8b6583ca91ce fix incorrect bill dates from prorate, RT#10830 --- diff --git a/FS/FS/part_pkg/prorate_Mixin.pm b/FS/FS/part_pkg/prorate_Mixin.pm index 451690485..3f3d86f75 100644 --- a/FS/FS/part_pkg/prorate_Mixin.pm +++ b/FS/FS/part_pkg/prorate_Mixin.pm @@ -81,7 +81,7 @@ sub calc_prorate { $mend = timelocal(0,0,0,$cutoff_day,$mon,$year); $mstart = - timelocal(0,0,0,$cutoff_day,$mon == 0 ? 11 : $mon - 1,$year-($mon==11)); + timelocal(0,0,0,$cutoff_day,$mon == 0 ? 11 : $mon - 1,$year-($mon==0)); } # next bill date will be figured as $$sdate + one period