diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-05-07 18:39:09 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-05-07 18:39:09 -0700 |
commit | abae41e9c876ad16fb8b82049583e960daa641ed (patch) | |
tree | b54440687f3ef9f7f734a76962ec11d0a9bb59d3 /FS | |
parent | dd2048e8605404a4a55167555330473a6ce26437 (diff) |
fix view of unlinked phone numbers, RT#29070
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/location_Mixin.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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<FS::cust_location>). 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(@_); } |