mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix null error in getUnencryptedSize
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
d2333d1081
commit
5733fccdd1
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class CacheEntry implements ICacheEntry {
|
|||
if (isset($this->data['unencrypted_size']) && $this->data['unencrypted_size'] > 0) {
|
||||
return $this->data['unencrypted_size'];
|
||||
} else {
|
||||
return $this->data['size'];
|
||||
return $this->data['size'] ?? 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue