summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-12-06 01:02:54 +0000
committerivan <ivan>2011-12-06 01:02:54 +0000
commit1fd786ff9c487e5458ad728a07de8bf952b1b315 (patch)
treefd38c11cf681b4039400ccb4201bbe6770942447
parent65ea98d95058ab593943e3331cb5df2c241091a6 (diff)
silence a warning
-rw-r--r--FS/FS/cust_bill_pkg.pm2
1 files changed, 1 insertions, 1 deletions
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] );
}