Fix for bookmark posting: missing object was causing error output to crush ajax
This commit is contained in:
parent
674e3c2a0e
commit
23436ad83d
@ -459,6 +459,7 @@ class BookmarkPlugin extends MicroAppPlugin
|
|||||||
"Formatting notice {$notice->uri} as a bookmark.");
|
"Formatting notice {$notice->uri} as a bookmark.");
|
||||||
|
|
||||||
$object = new ActivityObject();
|
$object = new ActivityObject();
|
||||||
|
$nb = Bookmark::getByNotice($notice);
|
||||||
|
|
||||||
$object->id = $notice->uri;
|
$object->id = $notice->uri;
|
||||||
$object->type = ActivityObject::BOOKMARK;
|
$object->type = ActivityObject::BOOKMARK;
|
||||||
|
Loading…
Reference in New Issue
Block a user