summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-06-30 13:44:03 -0700
committerIvan Kohler <ivan@freeside.biz>2017-06-30 13:44:03 -0700
commit701f845de34ca48f26b2dd7a38b95764fb800d17 (patch)
treea3afe678469041c23ace97b3d7cfe5a687293732
parentfe99f2ab76c6f941e0bad94bc50a41933bf59f3f (diff)
fix email on contact report
-rw-r--r--httemplate/search/contact.html3
1 files changed, 2 insertions, 1 deletions
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);
};