Index: trunk/extensions/LiquidThreads/pages/TalkpageView.php |
— | — | @@ -91,6 +91,11 @@ |
92 | 92 | // Table body |
93 | 93 | $rows = array(); |
94 | 94 | foreach ( $threads as $thread ) { |
| 95 | + if ( !$thread->root()->getContent() && |
| 96 | + !LqtView::threadContainsRepliesWithContent( $thread ) ) { |
| 97 | + continue; |
| 98 | + } |
| 99 | + |
95 | 100 | $row = ''; |
96 | 101 | $anchor = '#' . $this->anchorName( $thread ); |
97 | 102 | $subject = Xml::element( 'a', array( 'href' => $anchor ), $thread->subject() ); |