From: mark Date: Wed, 8 Dec 2010 00:03:13 +0000 (+0000) Subject: fix incorrect bill dates from prorate, RT#10830 X-Git-Tag: freeside_2_1_2~218 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=04de42e8771b37019c443e8104dadb024d3b6d67;p=freeside.git 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