diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index ccaa040fe8829ac661d460e1a0b4c53a7a9289ef..0229213ebcb1a9b7c6dc0eb4f9c33f0290eb94f5 100644
--- a/lib/filesystemview.php
+++ b/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;