[freeside-commits] freeside/FS/FS cust_bill.pm, 1.163.2.14, 1.163.2.15

Ivan,,, ivan at wavetail.420.am
Fri Dec 14 17:45:28 PST 2007


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

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_bill.pm 
Log Message:
fix earlier drain bramage

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.163.2.14
retrieving revision 1.163.2.15
diff -u -d -r1.163.2.14 -r1.163.2.15
--- cust_bill.pm	15 Dec 2007 01:23:45 -0000	1.163.2.14
+++ cust_bill.pm	15 Dec 2007 01:45:26 -0000	1.163.2.15
@@ -2742,7 +2742,7 @@
     #$orderby = 'ORDER BY cust_bill.custnum ASC, cust_bill._date DESC';
 
     my @newest_where = map { my $x = $_;
-                             $x = s/\bcust_bill\./newest_cust_bill./g;
+                             $x =~ s/\bcust_bill\./newest_cust_bill./g;
                              $x;
                            }
                            grep ! /^cust_main./, @search;
@@ -2750,6 +2750,7 @@
                          ? ' AND '. join(' AND ', @newest_where)
 			 : '';
 
+
     push @search, "cust_bill._date = (
       SELECT(MAX(newest_cust_bill._date)) FROM cust_bill AS newest_cust_bill
         WHERE newest_cust_bill.custnum = cust_bill.custnum



More information about the freeside-commits mailing list