summaryrefslogtreecommitdiff
path: root/FS/FS/cust_location.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-03-04 11:03:33 -0800
committerIvan Kohler <ivan@freeside.biz>2016-03-04 11:03:33 -0800
commite75e33aecdc0a432e57d6dd6278a361e0d3bd950 (patch)
tree7382460e14781a75c5f3759ce9428ab4f060cfec /FS/FS/cust_location.pm
parent2319eebc90436a365deb96f75629c538d235b5f8 (diff)
optimize location select (order package), RT#39822
Diffstat (limited to 'FS/FS/cust_location.pm')
-rw-r--r--FS/FS/cust_location.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_location.pm b/FS/FS/cust_location.pm
index 9415cc7..2b8a5c8 100644
--- a/FS/FS/cust_location.pm
+++ b/FS/FS/cust_location.pm
@@ -660,7 +660,7 @@ May become the default at some point.
sub location_label {
my( $self, %opt ) = @_;
- my $prefix = $self->label_prefix;
+ my $prefix = $self->label_prefix(%opt);
$prefix .= ($opt{join_string} || ': ') if $prefix;
$prefix = '' if $opt{'no_prefix'};