NEW only get openned contact from liste_contact function, to not have acces to closed contact as mail receiver
This commit is contained in:
parent
49a403b4a5
commit
b53a1b9112
@ -328,7 +328,7 @@ if ($action == 'presend') {
|
||||
}
|
||||
|
||||
$contactarr = array();
|
||||
$contactarr = $tmpobject->liste_contact(-1, 'external');
|
||||
$contactarr = $tmpobject->liste_contact(-1, 'external', 0, '', 1);
|
||||
|
||||
if (is_array($contactarr) && count($contactarr) > 0) {
|
||||
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user