diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2024-02-06 13:51:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 13:51:51 +0100 |
commit | 67a3ab48b5e523631a1baf93fb46b2bd10ce88c8 (patch) | |
tree | 0463e2994eb75f54a4947f1f3dd69a21b9270ce8 /lib/private/Files/Cache | |
parent | 57d12459b562f76504e940059f22ed75d923f3ed (diff) | |
parent | 7e5303bec7d28315cae1adb3de5ce6cbaf501897 (diff) | |
download | nextcloud-server-67a3ab48b5e523631a1baf93fb46b2bd10ce88c8.tar.gz nextcloud-server-67a3ab48b5e523631a1baf93fb46b2bd10ce88c8.zip |
Merge pull request #43131 from nextcloud/fix/files/cache-wrapper-no-partial-cache-entry-formatting
fix(files): Don't attempt to format a partial cache entry
Diffstat (limited to 'lib/private/Files/Cache')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheWrapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php index 39a78f31343..59da272787e 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -91,7 +91,7 @@ class CacheWrapper extends Cache { */ public function get($file) { $result = $this->getCache()->get($file); - if ($result) { + if ($result instanceof ICacheEntry) { $result = $this->formatCacheEntry($result); } return $result; |