Skip to content

Commit db7c2ef

Browse files
committed
Merge #278 [Fix30] avoid clear cache with prefix
2 parents 5fb4e87 + 3d899f5 commit db7c2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Collaboration/Reference/ReferenceManager.php

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

175-
$this->cache->remove(md5($cachePrefix) . '-' . md5($cacheKey));
175+
$this->cache->remove(md5($cachePrefix) . '-' . md5($cacheKey ?? ''));
176176
}
177177

178178
/**

0 commit comments

Comments
 (0)