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
|
|
@ -2799,9 +2799,9 @@ class Diaspora
|
|||
$original_item["author-name"],
|
||||
$original_item["author-link"],
|
||||
$original_item["author-avatar"],
|
||||
$original_item["guid"],
|
||||
$orig_url,
|
||||
$original_item["created"],
|
||||
$orig_url
|
||||
$original_item["guid"]
|
||||
);
|
||||
|
||||
if (!empty($original_item['title'])) {
|
||||
|
|
@ -3677,7 +3677,7 @@ class Diaspora
|
|||
if ($item['author-link'] != $item['owner-link']) {
|
||||
require_once 'mod/share.php';
|
||||
$body = BBCode::getShareOpeningTag($item['author-name'], $item['author-link'], $item['author-avatar'],
|
||||
"", $item['created'], $item['plink']) . $body . '[/share]';
|
||||
$item['plink'], $item['created']) . $body . '[/share]';
|
||||
}
|
||||
|
||||
// convert to markdown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue