correctly return the HTML representation of a new blog entry

This commit is contained in:
Evan Prodromou 2011-06-20 10:49:37 -04:00
parent e5126ebb77
commit 06ac0f9e9e
1 changed files with 2 additions and 1 deletions

View File

@ -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 {