mirror of
https://github.com/friendica/friendica
synced 2025-05-01 14:24:23 +02:00
Issue 13953: Fix warning during postupdate
This commit is contained in:
parent
2d4f28dcde
commit
5df1ead001
2 changed files with 4 additions and 1 deletions
|
@ -695,7 +695,7 @@ class Item
|
|||
$item['body'] = Post\Media::addAttachmentsToBody($item['uri-id'], $item['body']);
|
||||
}
|
||||
|
||||
$shared_content = BBCode::getShareOpeningTag($item['author-name'], $item['author-link'], $item['author-avatar'], $item['plink'], $item['created'], $item['guid'], $item['uri']);
|
||||
$shared_content = BBCode::getShareOpeningTag($item['author-name'], $item['author-link'], $item['author-avatar'], $item['plink'] ?? $item['uri'], $item['created'], $item['guid'], $item['uri']);
|
||||
|
||||
if (!empty($item['title'])) {
|
||||
$shared_content .= '[h3]' . $item['title'] . "[/h3]\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue