Parcourir la source

Merge pull request #43391 from nextcloud/backport/43131/stable28

[stable28] fix(files): Don't attempt to format a partial cache entry
tags/v28.0.3rc1
Robin Appelman il y a 4 mois
Parent
révision
57ee788f01
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      lib/private/Files/Cache/Wrapper/CacheWrapper.php

+ 1
- 1
lib/private/Files/Cache/Wrapper/CacheWrapper.php Voir le fichier

@@ -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;

Chargement…
Annuler
Enregistrer