mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 02:31:33 -04:00
Merge pull request #34579 from nextcloud/unencrypted-size-null
fix null error in getUnencryptedSize
This commit is contained in:
commit
4aa8e80511
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