[freeside-commits] freeside/FS/FS cust_bill_pkg.pm,1.36,1.37

Jeff Finucane,420,, jeff at wavetail.420.am
Sun Aug 9 15:48:00 PDT 2009


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

Modified Files:
	cust_bill_pkg.pm 
Log Message:
don't bomb when the line item has no start date

Index: cust_bill_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill_pkg.pm,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- cust_bill_pkg.pm	20 Jul 2009 14:26:12 -0000	1.36
+++ cust_bill_pkg.pm	9 Aug 2009 22:47:57 -0000	1.37
@@ -299,6 +299,7 @@
 
 sub previous_cust_bill_pkg {
   my $self = shift;
+  return unless $self->sdate;
   qsearchs({
     'table'    => 'cust_bill_pkg',
     'hashref'  => { 'pkgnum' => $self->pkgnum,



More information about the freeside-commits mailing list