mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: always set storage id in Cache::get
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
5ff7bde3fb
commit
80f8c7949e
1 changed files with 2 additions and 2 deletions
|
|
@ -120,11 +120,11 @@ class Cache implements ICache {
|
|||
// normalize file
|
||||
$file = $this->normalize($file);
|
||||
|
||||
$query->whereStorageId($this->getNumericStorageId())
|
||||
->wherePath($file);
|
||||
$query->wherePath($file);
|
||||
} else { //file id
|
||||
$query->whereFileId($file);
|
||||
}
|
||||
$query->whereStorageId($this->getNumericStorageId());
|
||||
|
||||
$result = $query->execute();
|
||||
$data = $result->fetch();
|
||||
|
|
|
|||
Loading…
Reference in a new issue