[freeside-commits] branch FREESIDE_3_BRANCH updated. abae41e9c876ad16fb8b82049583e960daa641ed

Ivan ivan at 420.am
Wed May 7 18:39:10 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  abae41e9c876ad16fb8b82049583e960daa641ed (commit)
      from  dd2048e8605404a4a55167555330473a6ce26437 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit abae41e9c876ad16fb8b82049583e960daa641ed
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed May 7 18:39:09 2014 -0700

    fix view of unlinked phone numbers, RT#29070

diff --git a/FS/FS/location_Mixin.pm b/FS/FS/location_Mixin.pm
index d457386..d32b4a3 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(@_);
 }
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/location_Mixin.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list