[freeside-commits] freeside/FS/FS/part_pkg flat.pm,1.26,1.27

Ivan,,, ivan at wavetail.420.am
Fri Sep 12 00:07:56 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail.420.am:/tmp/cvs-serv27244/part_pkg

Modified Files:
	flat.pm 
Log Message:
don't throw noisy warnings about missing new recur_temporality, RT#3851

Index: flat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/flat.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- flat.pm	12 Sep 2008 00:53:13 -0000	1.26
+++ flat.pm	12 Sep 2008 07:07:53 -0000	1.27
@@ -132,7 +132,7 @@
   my $last_bill = $cust_pkg->get('last_bill'); #->last_bill falls back to setup
 
   return 0
-    if $self->option('recur_temporality') eq 'preceding' && $last_bill == 0;
+    if $self->option('recur_temporality', 1) eq 'preceding' && $last_bill == 0;
 
   $self->base_recur($cust_pkg);
 }



More information about the freeside-commits mailing list