Really do what r78790 claimed to do (fix E_STRICT in r78786)
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 22 Dec 2010 15:00:33 +0000 (15:00 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 22 Dec 2010 15:00:33 +0000 (15:00 +0000)
includes/specials/SpecialLinkSearch.php

index 65d292d..a54c738 100644 (file)
@@ -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 ) {