summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-02-11 17:22:40 +0100
committerRobin Appelman <icewind@owncloud.com>2016-02-11 17:22:40 +0100
commitc3e4ced64a0bab8ea246906e035685a15b51e363 (patch)
treed3b25aab302becb0a06f159ef50dc4a978803dd5 /apps
parentdfe267424ffbecaef7edff20d1977532de7a5702 (diff)
downloadnextcloud-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.php2
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
*/