summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/fulltext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/fulltext.php b/inc/fulltext.php
index c4d8a7ea7..a68770277 100644
--- a/inc/fulltext.php
+++ b/inc/fulltext.php
@@ -242,7 +242,7 @@ function _ft_pageLookup(&$data){
$cleaned = cleanID($id);
$matched_pages = array();
foreach ($pages as $p_id => $p_title) {
- if ((strpos($in_ns ? $p_id : noNS($p_id), $cleaned) !== false) ||
+ if ((strpos($in_ns ? $p_id : noNSorNS($p_id), $cleaned) !== false) ||
($in_title && stripos($p_title, $id) !== false)) {
$matched_pages[$p_id] = $p_title;
}