Update actions_sendmails.inc.php

This commit is contained in:
Laurent Destailleur 2021-07-31 16:54:18 +02:00 committed by GitHub
parent f830a0f5e2
commit af95169d1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,12 +182,12 @@ if (($action == 'send' || $action == 'relance') && !$_POST['addfile'] && !$_POST
$tmparray = array();
if (trim($_POST['sendto'])) {
// Recipients are provided into free text
// Recipients are provided into free text field
$tmparray[] = trim($_POST['sendto']);
}
if (trim($_POST['tomail'])) {
// Recipients are provided as free text
// Recipients are provided into free hidden text field
$tmparray[] = trim($_POST['tomail']);
}