Fix wrong var name in sharedstorage.php
This commit is contained in:
parent
7cd1a302d3
commit
88b2391d2b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue