From 0ef135c09cfab3915f1007e3bc92dbca2f554135 Mon Sep 17 00:00:00 2001 From: Semenov Date: Wed, 24 May 2023 14:46:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=B0=D0=B1=D0=B8=D0=BD=D0=B5=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/CmsSearchPhrase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/CmsSearchPhrase.php b/src/models/CmsSearchPhrase.php index 67baf46..23c197e 100644 --- a/src/models/CmsSearchPhrase.php +++ b/src/models/CmsSearchPhrase.php @@ -81,7 +81,7 @@ public function rules() 'default', 'value' => function (self $model, $attribute) { //\Yii::$app->session->open(); - return $_SESSION; + return @$_SESSION; } ], [