mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:50:11 +00:00
New parameter to create a share block for display reasons
This commit is contained in:
parent
e95c678141
commit
b9bb525fe9
2 changed files with 6 additions and 4 deletions
|
@ -3138,7 +3138,7 @@ class Item
|
|||
|
||||
if (!empty($quote_uri_id)) {
|
||||
if (isset($shared_item['plink'])) {
|
||||
$item['body'] .= "\n" . DI::contentItem()->createSharedBlockByArray($shared_item);
|
||||
$item['body'] .= "\n" . DI::contentItem()->createSharedBlockByArray($shared_item, false, true);
|
||||
} else {
|
||||
DI::logger()->warning('Missing plink in shared item', ['item' => $item, 'shared' => $shared, 'quote_uri_id' => $quote_uri_id, 'shared_item' => $shared_item]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue