[freeside-commits] freeside/FS/FS cust_bill_pkg.pm, 1.56.2.8, 1.56.2.9

Ivan,,, ivan at wavetail.420.am
Mon Dec 5 17:03:28 PST 2011


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

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	cust_bill_pkg.pm 
Log Message:
silence a warning

Index: cust_bill_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill_pkg.pm,v
retrieving revision 1.56.2.8
retrieving revision 1.56.2.9
diff -u -w -d -r1.56.2.8 -r1.56.2.9
--- cust_bill_pkg.pm	17 Nov 2011 23:24:24 -0000	1.56.2.8
+++ cust_bill_pkg.pm	6 Dec 2011 01:03:26 -0000	1.56.2.9
@@ -531,7 +531,7 @@
 
     #avoid the fetchall_arrayref and loop for less memory usage?
 
-    map { $_->[0] eq 'C'
+    map { (defined($_->[0]) && $_->[0] eq 'C')
             ? &{$format_sub}(      $_->[1] )
             : &{$escape_function}( $_->[1] );
         }



More information about the freeside-commits mailing list