瀏覽代碼

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 年之前
父節點
當前提交
5d5cfefd35
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      lib/private/Files/Cache/Cache.php

+ 2
- 0
lib/private/Files/Cache/Cache.php 查看文件

@@ -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…
取消
儲存