diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-01-12 21:54:58 +0100 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-01-12 21:54:58 +0100 |
commit | 0fb73ec49d4adb3272b2939f10498ca446f7ffb6 (patch) | |
tree | f5df07b438cc22a5b9a5d22f5d358b56f69b902a /lib/filestorage | |
parent | a1429085ee7c061740ccb420b79104229eeb3a25 (diff) | |
download | nextcloud-server-0fb73ec49d4adb3272b2939f10498ca446f7ffb6.tar.gz nextcloud-server-0fb73ec49d4adb3272b2939f10498ca446f7ffb6.zip |
fix previous change
Diffstat (limited to 'lib/filestorage')
-rw-r--r-- | lib/filestorage/local.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index 1261bd3aa83..b8a0563c134 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -165,7 +165,7 @@ class OC_Filestorage_Local extends OC_Filestorage{ } if ($mimeType=='application/octet-stream') { // Fallback solution: (try to guess the type by the file extension - if(!self::$mimetypes || self::$mimetypes == include('mimetypes.list.php')){ + if(!self::$mimetypes || self::$mimetypes != include('mimetypes.list.php')){ self::$mimetypes=include('mimetypes.list.php'); } $extention=strtolower(strrchr(basename($fspath), ".")); |