diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-02-11 17:22:40 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-02-11 17:22:40 +0100 |
commit | c3e4ced64a0bab8ea246906e035685a15b51e363 (patch) | |
tree | d3b25aab302becb0a06f159ef50dc4a978803dd5 /apps | |
parent | dfe267424ffbecaef7edff20d1977532de7a5702 (diff) | |
download | nextcloud-server-c3e4ced64a0bab8ea246906e035685a15b51e363.tar.gz nextcloud-server-c3e4ced64a0bab8ea246906e035685a15b51e363.zip |
fix getNodeForPath for non existing part files
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/connector/sabre/objecttree.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/connector/sabre/objecttree.php b/apps/dav/lib/connector/sabre/objecttree.php index a1796136c4e..505a42d4746 100644 --- a/apps/dav/lib/connector/sabre/objecttree.php +++ b/apps/dav/lib/connector/sabre/objecttree.php @@ -136,7 +136,7 @@ class ObjectTree extends \Sabre\DAV\Tree { $mount = $this->fileView->getMount($path); $storage = $mount->getStorage(); $internalPath = $mount->getInternalPath($absPath); - if ($storage) { + if ($storage && $storage->file_exists($internalPath)) { /** * @var \OC\Files\Storage\Storage $storage */ |