From 06ac0f9e9ecfabc9a6d0836cb183c316bb0f2254 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 20 Jun 2011 10:49:37 -0400 Subject: [PATCH] correctly return the HTML representation of a new blog entry --- plugins/Blog/newblogentry.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Blog/newblogentry.php b/plugins/Blog/newblogentry.php index c33c69d109..d6421abea2 100644 --- a/plugins/Blog/newblogentry.php +++ b/plugins/Blog/newblogentry.php @@ -128,7 +128,8 @@ class NewblogentryAction extends Action $this->element('title', null, _m('Blog entry saved')); $this->elementEnd('head'); $this->elementStart('body'); - $this->showNotice($saved); + $nli = new NoticeListItem($saved, $this); + $nli->show(); $this->elementEnd('body'); $this->elementEnd('html'); } else {