]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix previous change
authorGeorg Ehrke <dev@georgswebsite.de>
Thu, 12 Jan 2012 20:54:58 +0000 (21:54 +0100)
committerGeorg Ehrke <dev@georgswebsite.de>
Thu, 12 Jan 2012 20:54:58 +0000 (21:54 +0100)
lib/filestorage/local.php

index 1261bd3aa83aa230620ae19c1f3e71b278feaac6..b8a0563c1347041ca9440a4b5e522cf90f1102c8 100644 (file)
@@ -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), "."));