From 23436ad83d3039aee73799b0530921cb13221ce3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 29 Mar 2011 16:50:06 -0700 Subject: [PATCH] Fix for bookmark posting: missing object was causing error output to crush ajax --- plugins/Bookmark/BookmarkPlugin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index bc8985e907..4c13ec79cb 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -459,6 +459,7 @@ class BookmarkPlugin extends MicroAppPlugin "Formatting notice {$notice->uri} as a bookmark."); $object = new ActivityObject(); + $nb = Bookmark::getByNotice($notice); $object->id = $notice->uri; $object->type = ActivityObject::BOOKMARK; -- 2.39.5