diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index 4840cce4c9df4f5682a2f91c311fa88cbadb8174..cb641e68a84e38e015b9c2de0d6f897b052756b7 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -460,7 +460,7 @@ class OC_Filestorage_Shared extends OC_Filestorage { } public function getMimeType($path) { - if ($path2 == "" || $path2 == "/") { + if ($path == "" || $path == "/") { return 'httpd/unix-directory'; } $source = $this->getSource($path); @@ -517,4 +517,4 @@ class OC_Filestorage_Shared extends OC_Filestorage { } -?> \ No newline at end of file +?>