This commit is contained in:
Cyberes 2020-10-24 18:00:20 -06:00
parent 9062106dce
commit 145bc314c1
1 changed files with 3 additions and 3 deletions

View File

@ -284,11 +284,11 @@ class SpecialContact extends UnlistedSpecialPage
$senderAddress = $contactSender;
} else {
// Use user submitted details
$senderAddress = new MailAddress($this->getConfig()->get('PasswordSender'), $config['SenderName']);
if ($this->getConfig()->get('UserEmailUseReplyTo')) {
$senderAddress = new MailAddress($fromAddress, $fromName);
// if ($this->getConfig()->get('UserEmailUseReplyTo')) {
// Define reply-to address
$replyTo = $senderAddress;
}
// }
}
$subject = $formData['Subject'];