From: ivan Date: Tue, 6 Dec 2011 01:03:26 +0000 (+0000) Subject: silence a warning X-Git-Tag: freeside_2_3_1~113 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=cea0953f9c7b0d21843ae058e57a5d0d86098367 silence a warning --- 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] ); }