From: Roan Kattouw Date: Wed, 22 Dec 2010 15:00:33 +0000 (+0000) Subject: Really do what r78790 claimed to do (fix E_STRICT in r78786) X-Git-Tag: 1.31.0-rc.0~33194 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=17627a7759341dbaa400cbc3d1052e5869948407;p=lhc%2Fweb%2Fwiklou.git Really do what r78790 claimed to do (fix E_STRICT in r78786) --- diff --git a/includes/specials/SpecialLinkSearch.php b/includes/specials/SpecialLinkSearch.php index 65d292d2cc..a54c7385e9 100644 --- a/includes/specials/SpecialLinkSearch.php +++ b/includes/specials/SpecialLinkSearch.php @@ -171,7 +171,7 @@ class LinkSearchPage extends QueryPage { /** * Override to check query validity. */ - function doQuery( $offset, $limit ) { + function doQuery( $offset, $limit = false ) { global $wgOut; list( $this->mMungedQuery, ) = LinkSearchPage::mungeQuery( $this->mQuery, $this->mProt ); if( $this->mMungedQuery === false ) {