Merge remote-tracking branch 'upstream/2021.06-rc' into forum-handling
This commit is contained in:
commit
8a9f633ce2
9 changed files with 122 additions and 21 deletions
|
@ -2882,7 +2882,7 @@ class Item
|
|||
'mime' => $attachment['mimetype'],
|
||||
],
|
||||
]);
|
||||
if ($item['post-type'] == Item::PT_AUDIO) {
|
||||
if (($item['post-type'] ?? null) == Item::PT_AUDIO) {
|
||||
$leading .= $media;
|
||||
} else {
|
||||
$trailing .= $media;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue