forked from GNUsocial/gnu-social
fix object errors with bookmark notices
This commit is contained in:
parent
f5782e9e56
commit
095e2a74d4
@ -510,6 +510,8 @@ class BookmarkPlugin extends MicroAppPlugin
|
||||
|
||||
function showNotice($notice, $out)
|
||||
{
|
||||
$nb = Bookmark::getByNotice($notice);
|
||||
|
||||
$profile = $notice->getProfile();
|
||||
|
||||
$atts = $notice->attachments();
|
||||
@ -542,8 +544,8 @@ class BookmarkPlugin extends MicroAppPlugin
|
||||
|
||||
// Replies look like "for:" tags
|
||||
|
||||
$replies = $nli->notice->getReplies();
|
||||
$tags = $nli->notice->getTags();
|
||||
$replies = $notice->getReplies();
|
||||
$tags = $notice->getTags();
|
||||
|
||||
if (!empty($replies) || !empty($tags)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user