summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/connector/sabre/filesplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/filesplugin.php b/lib/private/connector/sabre/filesplugin.php
index 1dbab7cbe31..3c79f5a7a2a 100644
--- a/lib/private/connector/sabre/filesplugin.php
+++ b/lib/private/connector/sabre/filesplugin.php
@@ -99,7 +99,7 @@ class FilesPlugin extends \Sabre\DAV\ServerPlugin {
*/
function httpGet(RequestInterface $request, ResponseInterface $response) {
// Only handle valid files
- $node = $this->tree->getNodeForPath($request->getPath(), 0);
+ $node = $this->tree->getNodeForPath($request->getPath());
if (!($node instanceof IFile)) return;
$response->addHeader('Content-Disposition', 'attachment');