Merge branch 'MDL-57002-master' of git://github.com/FMCorz/moodle
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 21 Nov 2016 00:21:31 +0000 (08:21 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 21 Nov 2016 00:21:31 +0000 (08:21 +0800)
repository/webdav/lib.php

index 72c27c2..11cb7db 100644 (file)
@@ -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;
         }