projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f2ee4ee
)
72456: Directions - override company_address [context bug fix]
author
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 28 Sep 2016 20:08:53 +0000
(15:08 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 28 Sep 2016 20:08:53 +0000
(15:08 -0500)
httemplate/elements/coord-links.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/coord-links.html
b/httemplate/elements/coord-links.html
index
586a710
..
db04dad
100644
(file)
--- 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>