summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-09-26 13:46:03 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-09-27 12:35:25 -0500
commit9939ddd7f968caa03c6632d56d46d9519d1c1905 (patch)
tree82b116290c13ce803ad43262676e55209d999eac /httemplate
parent83dd6450b06d2cf06a7a0ad91aa7d7a18062c9ff (diff)
72456: Directions - override company_address
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/coord-links.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html
index f27ffd39f..586a7109d 100644
--- a/httemplate/elements/coord-links.html
+++ b/httemplate/elements/coord-links.html
@@ -51,7 +51,8 @@ my $apikey = $conf->config('google_maps_api_key');
#for directions link
my @origin = $opt{company_address}
? @{ $opt{company_address} }
- : $conf->config('company_address', $agentnum);
+ : ( $conf->config('company_physical_address', $agentnum) ||
+ $conf->config('company_address', $agentnum) );
my $origin = uri_escape(join(',', @origin));
</%init>