Skip to content

Commit

Permalink
fix(Favorites): repair runtime cache population
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Jan 13, 2025
1 parent 97e78b3 commit 9e483ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/FavoritesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 9e483ef

Please sign in to comment.