Merge pull request #28768 from nextcloud/check-file-exists

pull/26585/head^2
John Molakvoæ 3 years ago committed by GitHub
commit a1c8b6e9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -216,7 +216,7 @@ class Local extends \OC\Files\Storage\Common {
}
public function filesize($path) {
if ($this->is_dir($path)) {
if (!$this->is_file($path)) {
return 0;
}
$fullPath = $this->getSourcePath($path);

Loading…
Cancel
Save