From: Bart Visscher Date: Wed, 8 Feb 2012 20:12:20 +0000 (+0100) Subject: Fix wrong var name in sharedstorage.php X-Git-Tag: v4.0.0beta~443^2~5^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=88b2391d2bfbc85f9c976e6aacd302481e9898ee;p=nextcloud-server.git Fix wrong var name in sharedstorage.php --- 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 +?>