From: Ivan Kohler Date: Thu, 8 May 2014 01:39:08 +0000 (-0700) Subject: fix view of unlinked phone numbers, RT#29070 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ba638765b1c8a27e8d1da8074b285a93f4a8241e 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(@_); }