Fix wrong var name in sharedstorage.php

This commit is contained in:
Bart Visscher 2012-02-08 21:12:20 +01:00
parent 7cd1a302d3
commit 88b2391d2b
1 changed files with 2 additions and 2 deletions

View File

@ -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 {
}
?>
?>