]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correctly return the HTML representation of a new blog entry
authorEvan Prodromou <evan@status.net>
Mon, 20 Jun 2011 14:49:37 +0000 (10:49 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 20 Jun 2011 14:49:37 +0000 (10:49 -0400)
plugins/Blog/newblogentry.php

index c33c69d109ecec3b80ddb9dd1f9ff50c62963d44..d6421abea28f281675e00f62a2bb3020e3c82676 100644 (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 {