mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
Fix wrong var name in sharedstorage.php
This commit is contained in:
parent
7cd1a302d3
commit
88b2391d2b
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
|||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue