From: Georg Ehrke Date: Thu, 12 Jan 2012 20:54:58 +0000 (+0100) Subject: fix previous change X-Git-Tag: v3.0~60^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0fb73ec49d4adb3272b2939f10498ca446f7ffb6;p=nextcloud-server.git fix previous change --- 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), "."));