From d221e916e16524dec0c2868ccb855b7cef3ddc36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donovan=20Scho=CC=88nknecht?= Date: Tue, 8 Oct 2013 10:26:41 +0200 Subject: [PATCH] Fix __getMIMEType error (thanks @mthie) --- S3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/S3.php b/S3.php index 1ef7391b..b341725e 100644 --- a/S3.php +++ b/S3.php @@ -1835,7 +1835,7 @@ private static function __getMIMEType(&$file) if ($type !== false && strlen($type) > 0) return $type; } - return ($type !== false && strlen($type) > 0) ? $type : 'application/octet-stream'; + return 'application/octet-stream'; }