Skip to content
Snippets Groups Projects
Commit 311b04f6 authored by Björn Schießle's avatar Björn Schießle
Browse files

backport from approved patch in stable45:

make root the default parameter for getAbsolutePath()
parent ba62d8de
No related branches found
No related tags found
No related merge requests found
......@@ -47,10 +47,7 @@ class OC_FilesystemView {
$this->fakeRoot=$root;
}
public function getAbsolutePath($path) {
if(!$path) {
$path='/';
}
public function getAbsolutePath($path = '/') {
if($path[0]!=='/') {
$path='/'.$path;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment