From c8998ccdff070d7c73a634e031a041260b87c3b1 Mon Sep 17 00:00:00 2001 From: winter Sparkles Date: Sun, 9 Aug 2026 02:38:44 +0100 Subject: tiny fix to stop it thinking it's logged in when it's not --- Psso/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Psso/Session.php') diff --git a/Psso/Session.php b/Psso/Session.php index 35a6228..34dd94a 100644 --- a/Psso/Session.php +++ b/Psso/Session.php @@ -80,7 +80,7 @@ class Session { public function getColumn(string $column): mixed { $stmt = $this->db->prepare("select $column from session where token=?"); $stmt->execute([$this->currentToken()]); - return unserialize($stmt->fetchColumn(0)); + return unserialize($stmt->fetchColumn(0)) ?: null; } public function setIdentity(mixed $identity): void { -- cgit v1.3