optimize location select (order package), RT#39822
authorIvan Kohler <ivan@freeside.biz>
Fri, 4 Mar 2016 19:03:32 +0000 (11:03 -0800)
committerIvan Kohler <ivan@freeside.biz>
Fri, 4 Mar 2016 19:03:32 +0000 (11:03 -0800)
FS/FS/cust_location.pm

index 9415cc7..2b8a5c8 100644 (file)
@@ -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'};