diff options
Diffstat (limited to 'lib/private/Files/Cache/Wrapper/CacheJail.php')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheJail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index 540b6f7b8c3..7183a6c0d2a 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -328,7 +328,7 @@ class CacheJail extends CacheWrapper { if ($rawEntry) { $jailedPath = $this->getJailedPath($rawEntry->getPath()); if ($jailedPath !== null) { - return $this->formatCacheEntry(clone $rawEntry); + return $this->formatCacheEntry(clone $rawEntry) ?: null; } } |