Skip to content

Commit 80a20a6

Browse files
committed
Merge #261 [backport 28]fix: Avoid clear cache with prefix [maybe needed for 29]
2 parents c9fc852 + 7839743 commit 80a20a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Collaboration/Reference/ReferenceManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function invalidateCache(string $cachePrefix, ?string $cacheKey = null):
174174
return;
175175
}
176176

177-
$this->cache->remove(md5($cachePrefix) . '-' . md5($cacheKey));
177+
$this->cache->remove(md5($cachePrefix) . '-' . md5($cacheKey ?? ''));
178178
}
179179

180180
/**

0 commit comments

Comments
 (0)