diff --git a/themes/futaba/comment.theme.php b/themes/futaba/comment.theme.php
index ee6672c2..33a55ea0 100644
--- a/themes/futaba/comment.theme.php
+++ b/themes/futaba/comment.theme.php
@@ -1,6 +1,8 @@
comment_to_html($comment, false, $comment_id++);
+ $this->inner_id = $comment_id++;
+ $comment_html .= $this->comment_to_html($comment, false);
}
$html = "
";
@@ -53,7 +56,8 @@ class CustomCommentListTheme extends CommentListTheme {
}
- protected function comment_to_html(Comment $comment, $trim=false, $inner_id=0) {
+ protected function comment_to_html(Comment $comment, $trim=false) {
+ $inner_id = $this->inner_id; // because custom themes can't add params, because PHP
global $user;
$tfe = new TextFormattingEvent($comment->comment);