git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit e64ae1f0 authored by Evan Prodromou's avatar Evan Prodromou

Don't start <p> element until we've checked for attachments

parent ba3f6b2d
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment