summaryrefslogtreecommitdiff
path: root/httemplate/elements/contact.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-03-23 19:47:13 -0700
committerIvan Kohler <ivan@freeside.biz>2012-03-23 19:47:13 -0700
commitf2e15ed1a7e7b5938f32e1bd961082bed83de662 (patch)
tree9019e22dc06fd6aae0685166ae7b863cb8ef9565 /httemplate/elements/contact.html
parent6e8d47545088670085190e5a3a923cff930174e4 (diff)
enhance contacts: multiple email addresses, RT#16819
Diffstat (limited to 'httemplate/elements/contact.html')
-rw-r--r--httemplate/elements/contact.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index eea3694e3..3efa23246 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -21,11 +21,7 @@
% && $contact_phone->countrycode ne '1';
% }
% } elsif ( $field eq 'emailaddress' ) {
-% #XXX multiple not yet supported
-% my $contact_email = qsearchs('contact_email', {
-% 'contactnum' => $curr_value,
-% });
-% $value = $contact_email->emailaddress if $contact_email;
+% $value = join(', ', map $_->emailaddress, $contact->contact_email);
% } else {
% $value = $contact->get($field);
% }