Index: trunk/extensions/LiquidThreads/classes/DeletionController.php |
— | — | @@ -93,6 +93,8 @@ |
94 | 94 | |
95 | 95 | $thread = Threads::withRoot( $article ); |
96 | 96 | |
| 97 | + if (!$thread) return true; |
| 98 | + |
97 | 99 | if ( $thread->isTopmostThread() && count($thread->replies()) ) { |
98 | 100 | wfLoadExtensionMessages( 'LiquidThreads' ); |
99 | 101 | $out->wrapWikiMsg( '<strong>$1</strong>', |