Update getShareOpeningTag::getShareOpeningTag method signature
- Optional parameter $guid is now at the end - Always provided parameter $posted is now mandatory
This commit is contained in:
parent
5ec8025f69
commit
912ff069c0
5 changed files with 19 additions and 21 deletions
|
@ -2043,7 +2043,7 @@ function api_statuses_repeat($type)
|
|||
$pos = strpos($item['body'], "[share");
|
||||
$post = substr($item['body'], $pos);
|
||||
} else {
|
||||
$post = BBCode::getShareOpeningTag($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['plink'], $item['created'], $item['guid']);
|
||||
|
||||
if (!empty($item['title'])) {
|
||||
$post .= '[h3]' . $item['title'] . "[/h3]\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue