diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f88322d..ef14e889 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release Notes for Campaign +## 2.1.15 - 2022-10-27 +### Fixed +- Fixed a missed uninitialized typed property that was causing verification links to fail ([#338](https://github.com/putyourlightson/craft-campaign/issues/338)). + ## 2.1.14 - 2022-10-25 ### Fixed - Fixed a bug in which typed properties were being accessed before initialization, caused by a [breaking change](https://github.com/yiisoft/yii2/issues/19546#issuecomment-1291280606) in Yii 2.0.46. diff --git a/composer.json b/composer.json index 71e5848c..062d77d0 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.1.14", + "version": "2.1.15", "type": "craft-plugin", "homepage": "https://putyourlightson.com/plugins/campaign", "license": "proprietary", diff --git a/src/models/PendingContactModel.php b/src/models/PendingContactModel.php index 54818d0e..208c1fdf 100644 --- a/src/models/PendingContactModel.php +++ b/src/models/PendingContactModel.php @@ -23,7 +23,7 @@ class PendingContactModel extends Model /** * @var int|null Mailing list ID */ - public ?int $mailingListId; + public ?int $mailingListId = null; /** * @var string|null Source