[freeside-commits] freeside/FS/FS/part_pkg prorate.pm,1.8,1.9

Ivan,,, ivan at wavetail.420.am
Mon May 1 06:09:13 PDT 2006


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail:/tmp/cvs-serv16909

Modified Files:
	prorate.pm 
Log Message:
small fix to make prorate behave on the 1st as it did before

Index: prorate.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/prorate.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- prorate.pm	1 May 2006 12:38:05 -0000	1.8
+++ prorate.pm	1 May 2006 13:09:11 -0000	1.9
@@ -43,7 +43,7 @@
   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 =



More information about the freeside-commits mailing list