diff --git a/lib/DAV/Tree.php b/lib/DAV/Tree.php index 1483e1bc51..f8a996b5a3 100644 --- a/lib/DAV/Tree.php +++ b/lib/DAV/Tree.php @@ -84,7 +84,7 @@ public function getNodeForPath($path) if ($node instanceof INodeByPath) { $targetNode = $node->getNodeForPath(implode('/', $parts)); - if ($targetNode instanceof Node) { + if ($targetNode instanceof INode) { $node = $targetNode; break; }