Index: branches/REL1_12/phase3/includes/SpecialExport.php |
— | — | @@ -83,8 +83,8 @@ |
84 | 84 | $dbr = wfGetDB( DB_SLAVE ); |
85 | 85 | foreach( $inputPages as $page ) { |
86 | 86 | $title = Title::newFromText( $page ); |
87 | | - $pageSet[$title->getPrefixedText()] = true; |
88 | 87 | if( $title ) { |
| 88 | + $pageSet[$title->getPrefixedText()] = true; |
89 | 89 | /// @fixme May or may not be more efficient to batch these |
90 | 90 | /// by namespace when given multiple input pages. |
91 | 91 | $result = $dbr->select( |