summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-cust_location.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-05-31 13:02:12 -0700
committerMark Wells <mark@freeside.biz>2012-05-31 13:02:12 -0700
commitdda70549e974d4b559f9d5a117948b931813c7d1 (patch)
treed501b26fa6c56ef33f312411eae7e711310de992 /httemplate/elements/tr-select-cust_location.html
parent4daa22e234bec170832b893cc8d038e9d2aca6ea (diff)
fix location selection for prospects, #940
Diffstat (limited to 'httemplate/elements/tr-select-cust_location.html')
-rw-r--r--httemplate/elements/tr-select-cust_location.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html
index 05712ee6d..d9e3e9e27 100644
--- a/httemplate/elements/tr-select-cust_location.html
+++ b/httemplate/elements/tr-select-cust_location.html
@@ -287,7 +287,7 @@ my $location_sort = sub {
or lc($a->address2) cmp lc($b->address2)
};
-my @cust_location = ();
+my @cust_location;
push @cust_location, $cust_main->cust_location if $cust_main;
push @cust_location, $prospect_main->cust_location if $prospect_main;
push @cust_location, $cust_location