[freeside-commits] branch master updated. ba638765b1c8a27e8d1da8074b285a93f4a8241e

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


The branch, master has been updated
       via  ba638765b1c8a27e8d1da8074b285a93f4a8241e (commit)
      from  cd355e1366020deacea26c21e6953a73458fe79b (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 ba638765b1c8a27e8d1da8074b285a93f4a8241e
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed May 7 18:39:08 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