Merge "Fix "UTPage" creation in tests"
[lhc/web/wiklou.git] / includes / specials / SpecialFileDuplicateSearch.php
index 4c6593b..9cf5a73 100644 (file)
@@ -117,7 +117,7 @@ class FileDuplicateSearchPage extends QueryPage {
                                'form',
                                array( 'id' => 'fileduplicatesearch', 'method' => 'get', 'action' => $wgScript )
                        ) . "\n" .
-                               Html::hidden( 'title', $this->getTitle()->getPrefixedDBkey() ) . "\n" .
+                               Html::hidden( 'title', $this->getPageTitle()->getPrefixedDBkey() ) . "\n" .
                                Html::openElement( 'fieldset' ) . "\n" .
                                Html::element( 'legend', null, $this->msg( 'fileduplicatesearch-legend' )->text() ) . "\n" .
                                Xml::inputLabel(