Browse Source

return the correct value when trying to get a non existing item from cache by id

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v15.0.0RC1
Robin Appelman 5 years ago
parent
commit
5d5cfefd35
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/private/Files/Cache/Cache.php

+ 2
- 0
lib/private/Files/Cache/Cache.php View File

@@ -150,6 +150,8 @@ class Cache implements ICache {
$data = $this->partial[$file];
}
return $data;
} else if (!$data) {
return $data;
} else {
return self::cacheEntryFromData($data, $this->mimetypeLoader);
}

Loading…
Cancel
Save