summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-12-06 01:03:26 +0000
committerivan <ivan>2011-12-06 01:03:26 +0000
commitcea0953f9c7b0d21843ae058e57a5d0d86098367 (patch)
treeb792b7854b5b9a13cb97ed08eba5cea428e71060
parent94e8f9186cfe936b06e2b2049b38962ef0b6b9db (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] );
}