summaryrefslogtreecommitdiff
path: root/includes/util/session.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-06-02 16:31:02 +0200
committerRaindropsSys <contact@minteck.org>2023-06-02 16:31:02 +0200
commit48afc99d05c7bcd54231f340635f5102a03fbda4 (patch)
treebdad312490ee42b84dde71d5c49266f1b7fc792e /includes/util/session.inc
parent82ef2e6f4fadb6ed721a0de79ec4d2fcfdc3f426 (diff)
downloadpluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.tar.gz
pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.tar.bz2
pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.zip
Updated 7 files, added error.php and deleted 39 files (automated)
Diffstat (limited to 'includes/util/session.inc')
-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;
}
}