This commit is contained in:
grandeljay 2022-09-22 10:06:09 +02:00
parent 24e2d58aad
commit 564fa2f274

View file

@ -58,6 +58,7 @@ setcookie(
$session['httponly']
);
/** Backwards compatibility */
if (!isset($_SESSION['user']) || is_array($_SESSION['user'])) {
$_SESSION['user'] = new User();
}