Merge pull request #5744 from 1manprojects/patch-1

Removed cast to integer in getSize
This commit is contained in:
Morris Jobke 2017-07-18 23:43:09 +02:00 committed by GitHub
commit 5accbf5568
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
/**