Make export depth > 1 actually work. :) Assuming it doesn't bomb and die using too...
[lhc/web/wiklou.git] / includes / specials / SpecialExport.php
index be58205..06bf34a 100644 (file)
@@ -353,6 +353,7 @@ class SpecialExport extends SpecialPage {
                        $pageSet = $this->getLinks( $inputPages, $pageSet, 'pagelinks',
                                                                           array( 'pl_namespace AS namespace', 'pl_title AS title' ),
                                                                           array( 'page_id=pl_from' ) );
+                       $inputPages = array_keys( $pageSet );
                }
                return $pageSet;
        }