Fixed a typo on the default document mimetype: application/x-octet-stream

SVN:trunk[3560]
This commit is contained in:
Romain Quetiez
2015-04-24 08:28:45 +00:00
parent aa93fde347
commit 520ccd361c

View File

@@ -3692,7 +3692,7 @@ class AttributeBlob extends AttributeDefinition
{
$sContent = file_get_contents($proposedValue);
$sExtension = strtolower(pathinfo($proposedValue, PATHINFO_EXTENSION));
$sMimeType = "application/x-octoet-stream";
$sMimeType = "application/x-octet-stream";
$aKnownExtensions = array(
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',