[freeside-commits] branch master updated. 0f75f84be04be93b73c32bf8a1e34d539f753c06

Jonathan Prykop jonathan at 420.am
Wed Sep 28 13:09:21 PDT 2016


The branch, master has been updated
       via  0f75f84be04be93b73c32bf8a1e34d539f753c06 (commit)
      from  f2ee4eec34fea420c1c434194e410f31b6c9edb0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0f75f84be04be93b73c32bf8a1e34d539f753c06
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Wed Sep 28 15:08:53 2016 -0500

    72456: Directions - override company_address [context bug fix]

diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html
index 586a710..db04dad 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>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/coord-links.html |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list