From e71fc2854e31e329778abe54e226dd32c59140bf Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Thu, 21 Apr 2011 08:54:45 +0000 Subject: [PATCH] Fix: function with bad name --- htdocs/societe/notify/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/societe/notify/fiche.php b/htdocs/societe/notify/fiche.php index bd18c4b787b..2810c949f29 100644 --- a/htdocs/societe/notify/fiche.php +++ b/htdocs/societe/notify/fiche.php @@ -167,7 +167,7 @@ if ( $soc->fetch($soc->id) ) print '</tr>'; $var=false; - if (count($soc->contact_email_array()) > 0) + if (count($soc->thirdparty_and_contact_email_array()) > 0) { // Load array of notifications type available $sql = "SELECT a.rowid, a.code, a.titre"; @@ -195,7 +195,7 @@ if ( $soc->fetch($soc->id) ) print '<input type="hidden" name="action" value="add">'; print '<tr '.$bc[$var].'><td>'; - print $html->selectarray("contactid",$soc->contact_email_array()); + print $html->selectarray("contactid",$soc->thirdparty_and_contact_email_array()); print '</td>'; print '<td>'; print $html->selectarray("actionid",$actions); -- GitLab