diff --git a/plugins/Bookmark/bookmarklistitem.php b/plugins/Bookmark/bookmarklistitem.php index 381864c21c..9b7a3742fa 100644 --- a/plugins/Bookmark/bookmarklistitem.php +++ b/plugins/Bookmark/bookmarklistitem.php @@ -60,8 +60,6 @@ class BookmarkListItem extends NoticeListItemAdapter $notice = $this->nli->notice; $out = $this->nli->out; - $out->elementStart('p', array('class' => 'entry-content')); - $nb = Bookmark::getByNotice($notice); $profile = $notice->getProfile(); @@ -85,9 +83,10 @@ class BookmarkListItem extends NoticeListItemAdapter parent::showContent(); return; - } + $out->elementStart('p', array('class' => 'entry-content')); + $att = $atts[0]; $out->elementStart('h3');