Merge pull request #9485 from MrPetovan/bug/fatal-errors
Ensure we provide a mediaType string to Post\Media::getAttachElement
This commit is contained in:
commit
5029b992ad
1 changed files with 6 additions and 2 deletions
|
@ -196,8 +196,12 @@ class Processor
|
|||
$item['attach'] = '';
|
||||
}
|
||||
|
||||
$item['attach'] .= Post\Media::getAttachElement($attach['url'],
|
||||
$attach['length'] ?? 0, $attach['mediaType'], $attach['name'] ?? '');
|
||||
$item['attach'] .= Post\Media::getAttachElement(
|
||||
$attach['url'],
|
||||
$attach['length'] ?? 0,
|
||||
$attach['mediaType'] ?? '',
|
||||
$attach['name'] ?? ''
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue