fix : Warning: Undefined array key tomail in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/actions_sendmails.inc.php on line 193
This commit is contained in:
parent
7b7b8fda24
commit
b83b9ff598
@ -190,7 +190,7 @@ if (($action == 'send' || $action == 'relance') && !GETPOST('addfile') && !GETPO
|
||||
$tmparray[] = trim(GETPOST('sendto', 'alphawithlgt'));
|
||||
}
|
||||
|
||||
if (trim($_POST['tomail'])) {
|
||||
if (isset($_POST['tomail']) && trim($_POST['tomail'])) {
|
||||
// Recipients are provided into free hidden text field
|
||||
$tmparray[] = trim(GETPOST('tomail', 'alphawithlgt'));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user