[freeside-commits] branch FREESIDE_4_BRANCH updated. 701f845de34ca48f26b2dd7a38b95764fb800d17

Ivan ivan at 420.am
Fri Jun 30 13:44:04 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  701f845de34ca48f26b2dd7a38b95764fb800d17 (commit)
      from  fe99f2ab76c6f941e0bad94bc50a41933bf59f3f (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 701f845de34ca48f26b2dd7a38b95764fb800d17
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Jun 30 13:44:03 2017 -0700

    fix email on contact report

diff --git a/httemplate/search/contact.html b/httemplate/search/contact.html
index 44c864c..759f095 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);
 };
 

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

Summary of changes:
 httemplate/search/contact.html |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list