From 60a758ffd673991869547bf57cba228d53ce6ef3 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 30 Jun 2017 13:44:01 -0700 Subject: [PATCH] fix email on contact report --- httemplate/search/contact.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httemplate/search/contact.html b/httemplate/search/contact.html index 44c864c16..759f09521 100644 --- a/httemplate/search/contact.html +++ b/httemplate/search/contact.html @@ -24,7 +24,8 @@ my $addl_from = ''; my $email_sub = sub { my $contact = shift; - my @contact_email = $contact->contact_email; + #can't because contactnum is in the wrong field #my @contact_email = $contact->contact_email; + my @contact_email = qsearch('contact_email', { 'contactnum' => $contact->contact_contactnum } ); join(', ', map $_->emailaddress, @contact_email); }; -- 2.11.0