Skip to content

Commit d9b29af

Browse files
committed
Merge pull request #9577 from roland-d/fix-contact-copy-email
The addReplyTo doesn't take an array as argument in contact form
2 parents a463b85 + c65b560 commit d9b29af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/com_contact/controllers/contact.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private function _sendEmail($data, $contact, $copy_email_activated)
217217

218218
$mail = JFactory::getMailer();
219219
$mail->addRecipient($email);
220-
$mail->addReplyTo(array($email, $name));
220+
$mail->addReplyTo($email, $name);
221221
$mail->setSender(array($mailfrom, $fromname));
222222
$mail->setSubject($copysubject);
223223
$mail->setBody($copytext);

0 commit comments

Comments
 (0)