Fix wrong var name in sharedstorage.php

remotes/origin/stable4
Bart Visscher 14 years ago
parent 7cd1a302d3
commit 88b2391d2b
  1. 4
      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 {
}
?>
?>

Loading…
Cancel
Save