From: Aaron Schulz Date: Thu, 18 Dec 2008 20:36:02 +0000 (+0000) Subject: Fix odd syntax that made XHTML error X-Git-Tag: 1.31.0-rc.0~43895 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=1fbe3b6aed83546c6ea0524649d711b95b0264de;p=lhc%2Fweb%2Fwiklou.git Fix odd syntax that made XHTML error --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 9ed3833ddb..536aa0a7ac 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -607,10 +607,8 @@ class SpecialSearch { $redirectText = ''; // show redirects check only if backend supports it - if($this->searchEngine->acceptListRedirects()){ - "

". - $redirectText = $redirect . " " . $redirectLabel - ."

"; + if( $this->searchEngine->acceptListRedirects() ) { + $redirectText = "

". $redirect . " " . $redirectLabel ."

"; } $out = Xml::openElement( 'form', array( 'id' => 'powersearch', 'method' => 'get', 'action' => $wgScript ) ) .