X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Flocation_Mixin.pm;h=d32b4a37ca06eb940d866ce140496f9b4c9dc5d8;hb=881215feafc01aeee19864c39f0d98d3d6909e65;hp=d45738682e2c9016af3cfb1d03e6688e2f1a8c15;hpb=f433b4f187e484e8c40bdcebbeb5a5d51b3ae38e;p=freeside.git 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(@_); }