Skip to content

Commit d221e91

Browse files
committed
Fix __getMIMEType error (thanks @mthie)
1 parent a5c6f98 commit d221e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ private static function __getMIMEType(&$file)
18351835
if ($type !== false && strlen($type) > 0) return $type;
18361836
}
18371837

1838-
return ($type !== false && strlen($type) > 0) ? $type : 'application/octet-stream';
1838+
return 'application/octet-stream';
18391839
}
18401840

18411841

0 commit comments

Comments
 (0)