From: Ivan Kohler Date: Thu, 8 May 2014 01:39:09 +0000 (-0700) Subject: fix view of unlinked phone numbers, RT#29070 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=abae41e9c876ad16fb8b82049583e960daa641ed;p=freeside.git fix view of unlinked phone numbers, RT#29070 --- diff --git a/FS/FS/location_Mixin.pm b/FS/FS/location_Mixin.pm index d45738682..d32b4a37c 100644 --- a/FS/FS/location_Mixin.pm +++ b/FS/FS/location_Mixin.pm @@ -36,7 +36,7 @@ Returns the label of the location object (see L). sub location_label { my $self = shift; - my $object = $self->cust_location_or_main; + my $object = $self->cust_location_or_main or return ''; $object->location_label(@_); }