From 8c0115e78d5a80e628133e6cd457adc2038d1547 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 27 Jan 2024 12:51:49 +0200 Subject: [PATCH] add missed namespace --- src/controller/room.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/controller/room.php b/src/controller/room.php index 1315fbf..644b372 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -950,7 +950,7 @@ class Room private function _records(string $namespace): array { // Check for cache - if ($result = $this->_memory->get([__METHOD__])) + if ($result = $this->_memory->get([__METHOD__, $namespace])) { return $result; } @@ -963,7 +963,8 @@ class Room // Save to cache $this->_memory->set( [ - __METHOD__ + __METHOD__, + $namespace ], $result );