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.