From e5011f030796de0913c98631ac089e9bcb6c9912 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 9 Oct 2012 12:59:51 -0700 Subject: [PATCH] should fix Argument "" isn't numeric in numeric ne (!=) at /usr/local/share/perl/5.10.1/FS/Template_Mixin.pm line 2254. --- FS/FS/Template_Mixin.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index d35fd55f2..146e95f1c 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2251,7 +2251,8 @@ sub _items_cust_bill_pkg { $cust_pkg->h_labels_short($self->_date, undef, 'I') unless $cust_bill_pkg->pkgpart_override; #don't redisplay services - if ( $cust_pkg->locationnum != $cust_main->ship_locationnum ) { + if ( ! $cust_pkg->locationnum or + $cust_pkg->locationnum != $cust_main->ship_locationnum ) { my $loc = $cust_pkg->location_label; $loc = substr($loc, 0, $maxlength). '...' if $format eq 'latex' && length($loc) > $maxlength; -- 2.11.0