Merge pull request #12457 from annando/image-grid-shared
Fix image grid in shared Friendica posts
This commit is contained in:
commit
9a8f6f2150
|
@ -3030,6 +3030,7 @@ class Item
|
||||||
$shared = DI::contentItem()->getSharedPost($item, $fields);
|
$shared = DI::contentItem()->getSharedPost($item, $fields);
|
||||||
if (!empty($shared['post'])) {
|
if (!empty($shared['post'])) {
|
||||||
$shared_item = $shared['post'];
|
$shared_item = $shared['post'];
|
||||||
|
$shared_item['body'] = Post\Media::removeFromEndOfBody($shared_item['body']);
|
||||||
$quote_uri_id = $shared['post']['uri-id'];
|
$quote_uri_id = $shared['post']['uri-id'];
|
||||||
$shared_links[] = strtolower($shared['post']['uri']);
|
$shared_links[] = strtolower($shared['post']['uri']);
|
||||||
$item['body'] = BBCode::removeSharedData($item['body']);
|
$item['body'] = BBCode::removeSharedData($item['body']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user