mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
return the correct value when trying to get a non existing item from cache by id
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
a4d81ba164
commit
5d5cfefd35
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Reference in a new issue