Skip to content
Snippets Groups Projects
Commit 88b2391d authored by Bart Visscher's avatar Bart Visscher
Browse files

Fix wrong var name in sharedstorage.php

parent 7cd1a302
No related branches found
No related tags found
No related merge requests found
...@@ -460,7 +460,7 @@ class OC_Filestorage_Shared extends OC_Filestorage { ...@@ -460,7 +460,7 @@ class OC_Filestorage_Shared extends OC_Filestorage {
} }
public function getMimeType($path) { public function getMimeType($path) {
if ($path2 == "" || $path2 == "/") { if ($path == "" || $path == "/") {
return 'httpd/unix-directory'; return 'httpd/unix-directory';
} }
$source = $this->getSource($path); $source = $this->getSource($path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment