Fix default value for recipient
This commit is contained in:
parent
e81800b7d9
commit
601e2b00d6
@ -195,7 +195,7 @@ if ($action == 'presend') {
|
||||
}
|
||||
|
||||
$formmail->withto = $liste;
|
||||
$formmail->withtofree = (GETPOSTISSET('sendto') ? (GETPOST('sendto', 'alphawithlgt') ? GETPOST('sendto', 'alphawithlgt') : '1') : '1');
|
||||
$formmail->withtofree = (GETPOST('sendto', 'alphawithlgt') ? GETPOST('sendto', 'alphawithlgt') : '1');
|
||||
$formmail->withtocc = $liste;
|
||||
$formmail->withtoccc = getDolGlobalString('MAIN_EMAIL_USECCC');
|
||||
$formmail->withtopic = $topicmail;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user