Skip to content

Commit 9216cc3

Browse files
authored
Merge pull request #1543 from nextcloud/backport/1542/stable0.8
2 parents 64cd8f1 + 9fb507b commit 9216cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/FavoritesService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function isFavorite(int $nodeType, int $id): bool {
4848

4949
$result = $qb->executeQuery();
5050
while ($row = $result->fetch()) {
51-
$this->cache->set($cacheKey, true);
51+
$this->cache->set(sprintf('%d_%d', $row['node_type'], $row['node_id']), true);
5252
}
5353
}
5454

0 commit comments

Comments
 (0)