From 83fe865a901da61494610e3beef693b9a72ee4ba Mon Sep 17 00:00:00 2001 From: Rias Date: Mon, 1 Apr 2019 16:51:05 +0200 Subject: [PATCH] 1.1.4 --- CHANGELOG.md | 4 ++++ src/services/ContactFormExtensionsService.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 779189b..83e1eff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [1.1.4] - 2019-04-01 +### Fixed +- Fix utf8 issue + ## [1.1.3] - 2019-04-01 ### Fixed - Fix overriding `toEmail` diff --git a/src/services/ContactFormExtensionsService.php b/src/services/ContactFormExtensionsService.php index 1a6efb0..f1becd2 100644 --- a/src/services/ContactFormExtensionsService.php +++ b/src/services/ContactFormExtensionsService.php @@ -63,7 +63,7 @@ public function saveSubmission(Submission $submission) $contactFormSubmission->subject = $submission->subject; if (!is_array($submission->message)) { - $submission->message = ['message' => $this->utf8AllTheThings($submission->message)]; + $submission->message = ['message' => $this->utf8Value($submission->message)]; } $message = $this->utf8AllTheThings($submission->message);