]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
get right output context for BlogEntryListItem
authorEvan Prodromou <evan@status.net>
Mon, 20 Jun 2011 14:14:37 +0000 (10:14 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 20 Jun 2011 14:14:37 +0000 (10:14 -0400)
plugins/Blog/blogentrylistitem.php

index 44775d8a3de0e5c906c0e427cf3518b03825abf3..287339f8c2809e9c628757e71031d8722c2d771a 100644 (file)
@@ -49,10 +49,11 @@ class BlogEntryListItem extends NoticeListItemAdapter
 {
     function showNotice()
     {
-        $this->out->elementStart('div', 'entry-title');
+        $out = $this->nli->out;
+        $out->elementStart('div', 'entry-title');
         $this->showAuthor();
         $this->showContent();
-        $this->out->elementEnd('div');
+        $out->elementEnd('div');
     }
 
     function showContent()