From 564fa2f274952c2e13d959d4a4d0b4b7506b5884 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Thu, 22 Sep 2022 10:06:09 +0200 Subject: [PATCH] Refactor --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index c8e4e948..c101f552 100644 --- a/index.php +++ b/index.php @@ -58,6 +58,7 @@ setcookie( $session['httponly'] ); +/** Backwards compatibility */ if (!isset($_SESSION['user']) || is_array($_SESSION['user'])) { $_SESSION['user'] = new User(); }