summaryrefslogtreecommitdiff
path: root/httemplate/elements/coord-links.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-09-28 15:08:53 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-09-28 15:08:53 -0500
commit0f75f84be04be93b73c32bf8a1e34d539f753c06 (patch)
tree47be838c7be17bee5a5347616a2749335fa60a25 /httemplate/elements/coord-links.html
parentf2ee4eec34fea420c1c434194e410f31b6c9edb0 (diff)
72456: Directions - override company_address [context bug fix]
Diffstat (limited to 'httemplate/elements/coord-links.html')
-rw-r--r--httemplate/elements/coord-links.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html
index 586a7109d..db04dad97 100644
--- a/httemplate/elements/coord-links.html
+++ b/httemplate/elements/coord-links.html
@@ -51,8 +51,9 @@ my $apikey = $conf->config('google_maps_api_key');
#for directions link
my @origin = $opt{company_address}
? @{ $opt{company_address} }
- : ( $conf->config('company_physical_address', $agentnum) ||
- $conf->config('company_address', $agentnum) );
+ : ( $conf->config('company_physical_address', $agentnum)
+ ? $conf->config('company_physical_address', $agentnum)
+ : $conf->config('company_address', $agentnum) );
my $origin = uri_escape(join(',', @origin));
</%init>