Merge pull request #5744 from 1manprojects/patch-1
Removed cast to integer in getSize
This commit is contained in:
commit
5accbf5568
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']) ? 0 + $this->data['size'] : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue