"MDL-21786, fixed function name"
authorDongsheng Cai <unoter@gmail.com>
Mon, 15 Mar 2010 08:39:51 +0000 (08:39 +0000)
committerDongsheng Cai <unoter@gmail.com>
Mon, 15 Mar 2010 08:39:51 +0000 (08:39 +0000)
blocks/comments/block_comments.php

index 21aea13..4f90864 100644 (file)
@@ -50,7 +50,7 @@ class block_comments extends block_base {
             $cmt->linktext  = get_string('showcomments');
             $comment = new comment($cmt);
             $this->content = new stdClass;
-            $this->content->text = $comment->init(true);
+            $this->content->text = $comment->output(true);
             $this->content->footer = '';
 
         }