Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -436,7 +436,7 @@ |
437 | 437 | |
438 | 438 | if ( $this->output->getRedirect() != '' ) { |
439 | 439 | $redirectTitle = clone $talkpage->getTitle(); |
440 | | - if ( $thread ) { |
| 440 | + if ( !empty($thread) ) { |
441 | 441 | $redirectTitle->setFragment( '#' . $this->anchorName( $thread ) ); |
442 | 442 | } |
443 | 443 | $this->output->redirect( $this->title->getFullURL() ); |