diff --git a/lib/Service/FederatedUserService.php b/lib/Service/FederatedUserService.php index a77864a8f..88875a4ea 100644 --- a/lib/Service/FederatedUserService.php +++ b/lib/Service/FederatedUserService.php @@ -1195,7 +1195,7 @@ private function getCachedSingleCircle(FederatedUser $federatedUser): Circle { $key = $this->generateCacheKey($federatedUser); $cachedData = $this->cache->get($key); - if ($cachedData === null) { + if (!is_string($cachedData)) { throw new SingleCircleNotFoundException(); }