Fixed undefined var.
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 16 Apr 2009 00:18:36 +0000 (00:18 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 16 Apr 2009 00:18:36 +0000 (00:18 +0000)
includes/specials/SpecialExport.php

index 71ed4d4..be58205 100644 (file)
@@ -45,6 +45,7 @@ class SpecialExport extends SpecialPage {
                $this->images = $wgRequest->getCheck( 'images' ); // Doesn't do anything yet
                $this->pageLinkDepth = $this->validateLinkDepth(
                                                                                                                $wgRequest->getIntOrNull( 'pagelink-depth' ) );
+               $nsindex = '';
                
                if ( $wgRequest->getCheck( 'addcat' ) ) {
                        $page = $wgRequest->getText( 'pages' );