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)
|
function showNotice($notice, $out)
|
||||||
{
|
{
|
||||||
|
$nb = Bookmark::getByNotice($notice);
|
||||||
|
|
||||||
$profile = $notice->getProfile();
|
$profile = $notice->getProfile();
|
||||||
|
|
||||||
$atts = $notice->attachments();
|
$atts = $notice->attachments();
|
||||||
@ -542,8 +544,8 @@ class BookmarkPlugin extends MicroAppPlugin
|
|||||||
|
|
||||||
// Replies look like "for:" tags
|
// Replies look like "for:" tags
|
||||||
|
|
||||||
$replies = $nli->notice->getReplies();
|
$replies = $notice->getReplies();
|
||||||
$tags = $nli->notice->getTags();
|
$tags = $notice->getTags();
|
||||||
|
|
||||||
if (!empty($replies) || !empty($tags)) {
|
if (!empty($replies) || !empty($tags)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user