Removed cast to integer in getSize
Fixes - Wrong or no sizes of files/folders #5031
This commit is contained in:
parent
a23cdd04bb
commit
56c0384044
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
|
|||
*/
|
||||
public function getSize() {
|
||||
$this->updateEntryfromSubMounts();
|
||||
return isset($this->data['size']) ? (int) $this->data['size'] : 0;
|
||||
return isset($this->data['size']) ? $this->data['size'] : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue