Fix default value for recipient
This commit is contained in:
parent
a7f9ec159b
commit
ff2ae40691
@ -198,7 +198,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