summaryrefslogtreecommitdiff
path: root/includes/util
diff options
context:
space:
mode:
Diffstat (limited to 'includes/util')
-rw-r--r--includes/util/session.inc2
1 files changed, 1 insertions, 1 deletions
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;
}
}