mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 23:16:03 +00:00
fix
This commit is contained in:
@@ -46,7 +46,7 @@ class MimeType
|
||||
|
||||
/** @var string[]|null */
|
||||
$typeList = $this->metadata
|
||||
->get(['app', 'file', 'extensionMimeTypeMap', $extensionLowerCase]) ?? [];
|
||||
->get(['app', 'file', 'extensionMimeTypeMap', $extensionLowerCase]);
|
||||
|
||||
if ($typeList === null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user