Correct fix for the E_NOTICE fixed in r46977.
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 7 Feb 2009 15:22:01 +0000 (15:22 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 7 Feb 2009 15:22:01 +0000 (15:22 +0000)
includes/specials/SpecialExport.php

index d729abf..6b7e55c 100644 (file)
@@ -95,7 +95,7 @@ class SpecialExport extends SpecialPage {
                        if( $page != '' ) $this->doExport = true;
                } else {
                        // Default to current-only for GET requests
-                       $page = $wgRequest->getText( 'pages' );
+                       $page = $wgRequest->getText( 'pages', $par );
                        $historyCheck = $wgRequest->getCheck( 'history' );
                        if( $historyCheck ) {
                                $history = WikiExporter::FULL;