[freeside-commits] freeside/FS/FS cust_bill.pm,1.182,1.183

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


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

Modified Files:
	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.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- cust_bill.pm	15 Dec 2007 01:23:32 -0000	1.182
+++ cust_bill.pm	15 Dec 2007 01:45:22 -0000	1.183
@@ -2879,7 +2879,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;
@@ -2887,6 +2887,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