diff options
Diffstat (limited to 'lib/session/CacheSessionHandler.php')
| -rw-r--r-- | lib/session/CacheSessionHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/session/CacheSessionHandler.php b/lib/session/CacheSessionHandler.php index 6eea688..0418e47 100644 --- a/lib/session/CacheSessionHandler.php +++ b/lib/session/CacheSessionHandler.php @@ -62,7 +62,7 @@ class CacheSessionHandler implements public function read(string $id): string|false { $cache_key = self::CACHE_KEY_PREFIX . '/' . $id; - return $this->cache->read($cache_key); + return $this->cache->read($cache_key) ?: ''; } public function write(string $id, string $data): bool |
