From 88b2391d2bfbc85f9c976e6aacd302481e9898ee Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Wed, 8 Feb 2012 21:12:20 +0100
Subject: [PATCH] Fix wrong var name in sharedstorage.php

---
 apps/files_sharing/sharedstorage.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php
index 4840cce4c9..cb641e68a8 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
+?>
-- 
GitLab