summaryrefslogtreecommitdiff
path: root/classes/logger
diff options
context:
space:
mode:
Diffstat (limited to 'classes/logger')
-rwxr-xr-xclasses/logger/sql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/logger/sql.php b/classes/logger/sql.php
index c1ea16ef9..ad7fdecb2 100755
--- a/classes/logger/sql.php
+++ b/classes/logger/sql.php
@@ -10,7 +10,7 @@ class Logger_SQL {
if ($this->pdo && get_schema_version() > 117) {
- $owner_uid = $_SESSION["uid"] ? $_SESSION["uid"] : null;
+ $owner_uid = $_SESSION["uid"] ?? null;
// limit context length, DOMDocument dumps entire XML in here sometimes, which may be huge
$context = mb_substr($context, 0, 8192);