Merge pull request #43 from ThomasRubini/kernel_start_session_fix

This commit is contained in:
Thomas Rubini 2023-01-20 18:46:07 +01:00 committed by GitHub
commit 09c83cca97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
}