]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix wrong var name in sharedstorage.php
authorBart Visscher <bartv@thisnet.nl>
Wed, 8 Feb 2012 20:12:20 +0000 (21:12 +0100)
committerBart Visscher <bartv@thisnet.nl>
Wed, 8 Feb 2012 20:12:31 +0000 (21:12 +0100)
apps/files_sharing/sharedstorage.php

index 4840cce4c9df4f5682a2f91c311fa88cbadb8174..cb641e68a84e38e015b9c2de0d6f897b052756b7 100644 (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 {
        
 }
 
-?>
\ No newline at end of file
+?>