Browse Source

check if $path is a empty string

remotes/origin/stable5
Björn Schießle 14 years ago
parent
commit
250f40fe40
  1. 2
      lib/filesystemview.php

2
lib/filesystemview.php

@ -48,7 +48,7 @@ class OC_FilesystemView {
}
public function getAbsolutePath($path = '/') {
if($path[0]!=='/') {
if(!$path || $path[0]!=='/') {
$path='/'.$path;
}
return $this->fakeRoot.$path;

Loading…
Cancel
Save