Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -607,10 +607,8 @@ |
608 | 608 | |
609 | 609 | $redirectText = ''; |
610 | 610 | // show redirects check only if backend supports it |
611 | | - if($this->searchEngine->acceptListRedirects()){ |
612 | | - "<p>". |
613 | | - $redirectText = $redirect . " " . $redirectLabel |
614 | | - ."</p>"; |
| 611 | + if( $this->searchEngine->acceptListRedirects() ) { |
| 612 | + $redirectText = "<p>". $redirect . " " . $redirectLabel ."</p>"; |
615 | 613 | } |
616 | 614 | |
617 | 615 | $out = Xml::openElement( 'form', array( 'id' => 'powersearch', 'method' => 'get', 'action' => $wgScript ) ) . |