From ddc47761d7b3659a95e55950292d00445ffdfb0c Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Fri, 20 Jan 2023 18:45:02 +0100 Subject: [PATCH] fix Kernel start_session --- Kernel/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Session.php b/Kernel/Session.php index 33e1cf0..ed67da9 100644 --- a/Kernel/Session.php +++ b/Kernel/Session.php @@ -4,7 +4,7 @@ final class Session { public static function start_session() { - if (session_status() === PHP_SESSION_ACTIVE) { + if (session_status() !== PHP_SESSION_ACTIVE) { session_start(); } }