summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2014-03-12 09:47:48 -0400
committerJeremy Davis <jeremyd@freeside.biz>2014-03-12 09:47:48 -0400
commit235d99a60f1ec1a68afcd4614005352ce0f8b89f (patch)
tree048385f41db31958d358c3a857ed346f71eef621
parent75e708be04ef8c4afb4a51b70f18b0f7a2ad41bc (diff)
#28004 Adjustments to directions link on customer view page
-rw-r--r--httemplate/elements/coord-links.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html
index 02a224a00..4c263c638 100644
--- a/httemplate/elements/coord-links.html
+++ b/httemplate/elements/coord-links.html
@@ -35,10 +35,12 @@ $m->interp->apply_escapes($js_name, 'js_string');
$js_name =~ s/^'//;
$js_name =~ s/'$//;
+my @origin;
my $origin;
#for directions link
if ( $agentnum =~ /^\d+$/ ) {
- $origin = FS::Conf->new->config('company_address', $agentnum);
+ @origin = FS::Conf->new->config('company_address', $agentnum);
+ $origin = join (/,/,@origin);
$origin = uri_escape($origin);
}
</%init>