mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:50:11 +00:00
Replace share_header calls with BBCode::getShareOpeningTag
This commit is contained in:
parent
cd74fb8609
commit
1f20111c80
4 changed files with 6 additions and 5 deletions
|
@ -2043,7 +2043,7 @@ function api_statuses_repeat($type)
|
|||
$pos = strpos($item['body'], "[share");
|
||||
$post = substr($item['body'], $pos);
|
||||
} else {
|
||||
$post = share_header($item['author-name'], $item['author-link'], $item['author-avatar'], $item['guid'], $item['created'], $item['plink']);
|
||||
$post = BBCode::getShareOpeningTag($item['author-name'], $item['author-link'], $item['author-avatar'], $item['guid'], $item['created'], $item['plink']);
|
||||
|
||||
if (!empty($item['title'])) {
|
||||
$post .= '[h3]' . $item['title'] . "[/h3]\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue