From 48afc99d05c7bcd54231f340635f5102a03fbda4 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Fri, 2 Jun 2023 16:31:02 +0200 Subject: Updated 7 files, added error.php and deleted 39 files (automated) --- includes/util/session.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/util/session.inc') diff --git a/includes/util/session.inc b/includes/util/session.inc index 7554cfa..6cee8be 100644 --- a/includes/util/session.inc +++ b/includes/util/session.inc @@ -23,7 +23,7 @@ if ($_SERVER['REQUEST_METHOD'] === "POST") { $json_object = $data = json_decode($request_raw, true); if (json_last_error() === JSON_ERROR_NONE) { - $post = $data["_session"]; + $post = $data["_session"] ?? null; } } -- cgit