Merge pull request #24076 from MaximilienR-easya/dev_NEW_dont_get_closed_contact
NEW don't have closed contact proposed as receiver for the mails
This commit is contained in:
commit
124f3f3c21
@ -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