diff options
author | 1 Man Projects <reed@1manprojects.de> | 2017-07-15 20:18:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-15 20:18:45 +0200 |
commit | 56c0384044b85d15761be8937f36c85e19307b5a (patch) | |
tree | d6cb61ec09b2fe324a907f0c599a37e8bc4eab1f /lib/private/Files/FileInfo.php | |
parent | a23cdd04bb3ba3ff9e6313ae92b01d4fc0c1167c (diff) | |
download | nextcloud-server-56c0384044b85d15761be8937f36c85e19307b5a.tar.gz nextcloud-server-56c0384044b85d15761be8937f36c85e19307b5a.zip |
Removed cast to integer in getSize
Fixes - Wrong or no sizes of files/folders #5031
Diffstat (limited to 'lib/private/Files/FileInfo.php')
-rw-r--r-- | lib/private/Files/FileInfo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/FileInfo.php b/lib/private/Files/FileInfo.php index e1b5bf983ce..1b1b76deda2 100644 --- a/lib/private/Files/FileInfo.php +++ b/lib/private/Files/FileInfo.php @@ -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; } /** |