aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-08 21:12:20 +0100
committerBart Visscher <bartv@thisnet.nl>2012-02-08 21:12:31 +0100
commit88b2391d2bfbc85f9c976e6aacd302481e9898ee (patch)
treebf0b494a5528c52bebba2ba14d88fec6991402e8
parent7cd1a302d36259ef8496ea59d7060c99b6d10e25 (diff)
downloadnextcloud-server-88b2391d2bfbc85f9c976e6aacd302481e9898ee.tar.gz
nextcloud-server-88b2391d2bfbc85f9c976e6aacd302481e9898ee.zip
Fix wrong var name in sharedstorage.php
-rw-r--r--apps/files_sharing/sharedstorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php
index 4840cce4c9d..cb641e68a84 100644
--- a/apps/files_sharing/sharedstorage.php
+++ b/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 {
}
-?> \ No newline at end of file
+?>