X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pkg.pm;h=267804b5c10bd48394da2426eed025f2e7d8ede6;hp=58e24192f220c4081beccb44cf486d83d9a74041;hb=cea0953f9c7b0d21843ae058e57a5d0d86098367;hpb=07e3614f92d8fed7e43c3527d9ec262764494faa 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] ); }