Merge pull request #5925 from derkostka/patch-1
[stable12] Removed cast to integer in getSize
This commit is contained in:
commit
3313c682bf
|
@ -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 New Issue