diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-10-09 12:59:51 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-10-09 12:59:51 -0700 |
commit | e5011f030796de0913c98631ac089e9bcb6c9912 (patch) | |
tree | 8b202f06dc08dde0db79c55cf67087f77eafe9fa | |
parent | 98460903530ead429f608ba6fce4eac1a8ee3cf3 (diff) |
should fix
Argument "" isn't numeric in numeric ne (!=) at /usr/local/share/perl/5.10.1/FS/Template_Mixin.pm line 2254.
-rw-r--r-- | FS/FS/Template_Mixin.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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; |