diff --git a/lib/private/Files/FileInfo.php b/lib/private/Files/FileInfo.php index 1b1b76deda..f5a44ba02e 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']) ? $this->data['size'] : 0; + return isset($this->data['size']) ? 0 + $this->data['size'] : 0; } /**