From a1ce3ccaf216772b339748e92b3351c66dd5b5d6 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Tue, 29 Aug 2023 23:55:40 +0900 Subject: [PATCH] Fix missing array key in session --- common/framework/Session.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/framework/Session.php b/common/framework/Session.php index ea72e0d37..2eba80973 100644 --- a/common/framework/Session.php +++ b/common/framework/Session.php @@ -430,6 +430,10 @@ class Session // Update the domain initialization timestamp. $_SESSION['RHYMIX']['domains'][$alt_domain]['started'] = time(); + if (!isset($_SESSION['RHYMIX']['domains'][$alt_domain]['trusted'])) + { + $_SESSION['RHYMIX']['domains'][$alt_domain]['trusted'] = 0; + } // Refresh the main session cookie and the autologin key. if ($refresh_cookie)