From cabd214ef9ab165c44248fce55c416c99b0c3339 Mon Sep 17 00:00:00 2001 From: bencroker Date: Tue, 31 Oct 2023 11:18:13 +0100 Subject: [PATCH] Allow returning a null value --- CHANGELOG.md | 6 ++++++ composer.json | 2 +- src/helpers/SendoutHelper.php | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6088ef09..14bacbf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Release Notes for Campaign +## 2.9.3 - 2023-10-31 + +### Fixed + +- Fixed a bug in which an exception could be thrown on the sendouts screen ([#429](https://github.com/putyourlightson/craft-campaign/issues/429)). + ## 2.9.2 - 2023-10-26 ### Fixed diff --git a/composer.json b/composer.json index 982d34b9..8912eccc 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "putyourlightson/craft-campaign", "description": "Send and manage email campaigns, contacts and mailing lists.", - "version": "2.9.2", + "version": "2.9.3", "type": "craft-plugin", "homepage": "https://putyourlightson.com/plugins/campaign", "license": "proprietary", diff --git a/src/helpers/SendoutHelper.php b/src/helpers/SendoutHelper.php index 63a83080..1374e792 100644 --- a/src/helpers/SendoutHelper.php +++ b/src/helpers/SendoutHelper.php @@ -54,7 +54,7 @@ public static function encodeEmojis(?string $value): string * * @since 2.9.2 */ - public static function decodeEmojis(?string $value): string + public static function decodeEmojis(?string $value): ?string { if (!Craft::$app->getDb()->getIsMysql()) { return $value;