diff --git a/repository/webdav/lib.php b/repository/webdav/lib.php index 72c27c23d11..11cb7db45d2 100644 --- a/repository/webdav/lib.php +++ b/repository/webdav/lib.php @@ -72,7 +72,7 @@ class repository_webdav extends repository { } public function get_file($url, $title = '') { $url = urldecode($url); - $path = $this->prepare_file($title); + $path = $this->prepare_file(); if (!$this->dav->open()) { return false; }