From 9e483ef283087b7eb7c7cdf279ca5af824935259 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 13 Jan 2025 13:27:07 +0100 Subject: [PATCH] fix(Favorites): repair runtime cache population Signed-off-by: Arthur Schiwon --- lib/Service/FavoritesService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/FavoritesService.php b/lib/Service/FavoritesService.php index f4cddf8dc..70931d31c 100644 --- a/lib/Service/FavoritesService.php +++ b/lib/Service/FavoritesService.php @@ -48,7 +48,7 @@ public function isFavorite(int $nodeType, int $id): bool { $result = $qb->executeQuery(); while ($row = $result->fetch()) { - $this->cache->set($cacheKey, true); + $this->cache->set(sprintf('%d_%d', $row['node_type'], $row['node_id']), true); } }