aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiQueryPrefixSearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api/ApiQueryPrefixSearch.php')
-rw-r--r--includes/api/ApiQueryPrefixSearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQueryPrefixSearch.php b/includes/api/ApiQueryPrefixSearch.php
index 35942ca6a5c9..8eb644fcf972 100644
--- a/includes/api/ApiQueryPrefixSearch.php
+++ b/includes/api/ApiQueryPrefixSearch.php
@@ -69,7 +69,7 @@ class ApiQueryPrefixSearch extends ApiQueryGeneratorBase {
'title' => $title->getPrefixedText(),
);
if ( $title->isSpecialPage() ) {
- $vals['special'] = '';
+ $vals['special'] = true;
} else {
$vals['pageid'] = intval( $title->getArticleId() );
}