Skip to content

Commit

Permalink
Merge branch 'Pinchcliffe-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rias committed Sep 26, 2018
2 parents 65924ab + b41469e commit 0ea6ac2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ContactFormExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function init()
// Create the confirmation email
$message = new Message();
$message->setTo($e->submission->fromEmail);
$message->setFrom($e->message->getFrom());
$message->setFrom($e->message->getTo());
$message->setHtmlBody($html);
$message->setSubject($this->settings->getConfirmationSubject());

Expand Down
2 changes: 2 additions & 0 deletions src/services/ContactFormExtensionsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public function getRecaptcha()

/**
* @param array $things
*
* @return array
*/
public function utf8AllTheThings(array $things): array
Expand All @@ -105,6 +106,7 @@ public function utf8AllTheThings(array $things): array

/**
* @param array|string $value
*
* @return array|string
*/
public function utf8Value($value)
Expand Down

0 comments on commit 0ea6ac2

Please sign in to comment.