From 1fd786ff9c487e5458ad728a07de8bf952b1b315 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Dec 2011 01:02:54 +0000 Subject: [PATCH] silence a warning --- FS/FS/cust_bill_pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index 58e24192f..267804b5c 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -531,7 +531,7 @@ sub details { #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] ); } -- 2.11.0