From 0d4155581138baaafb14ce63ddc4cd7177f48fc7 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Tue, 8 Oct 2019 12:37:32 +0300 Subject: [PATCH] release version 2.1.8 --- CHANGELOG.md | 4 ++-- src/Session.php | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 070b78443..ecf0e1725 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ Yii Framework 2 mongodb extension Change Log ============================================ -2.1.8 under development ------------------------ +2.1.8 October 08, 2019 +---------------------- - Bug #285: Fix `sessionWrite` callback fields (related to https://github.com/yiisoft/yii2/issues/17559 and https://github.com/yiisoft/yii2/pull/17188) (lubosdz) diff --git a/src/Session.php b/src/Session.php index 033b1219b..dc8ddc4fe 100644 --- a/src/Session.php +++ b/src/Session.php @@ -57,11 +57,12 @@ class Session extends MultiFieldSession public $sessionCollection = 'session'; /** - * @var array Session fields to be written into session table columns - * @since 2.1.8 - */ + * @var array Session fields to be written into session table columns + * @since 2.1.8 + */ protected $fields = []; + /** * Initializes the Session component. * This method will initialize the [[db]] property to make sure it refers to a valid MongoDB connection.