Merge pull request #315 from owncloud/missing_path

check if $path is a empty string
remotes/origin/stable45
Daniel Molkentin 13 years ago
commit 5b8155a578
  1. 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