summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-28 12:06:48 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-28 12:06:48 -0700
commit1d0374a383ba412f9e9390705965a9d8467508f7 (patch)
tree8018e6e51e268c680db607d3b562703dd50b90ef /httemplate/elements
parentf954c8671db366b63c6c26721514c8d4a471821d (diff)
parent31104e36b65911d1a8b93644853af0838600f771 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements')
-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>