Index: trunk/phase3/includes/search/SearchMySQL.php |
— | — | @@ -284,7 +284,7 @@ |
285 | 285 | $searchindex = $this->db->tableName( 'searchindex' ); |
286 | 286 | return 'SELECT page_id, page_namespace, page_title ' . |
287 | 287 | "FROM $page,$searchindex " . |
288 | | - 'WHERE page_id=si_page ' . $match; |
| 288 | + 'WHERE page_id=si_page AND ' . $match; |
289 | 289 | } |
290 | 290 | |
291 | 291 | function getCountQuery( $filteredTerm, $fulltext ) { |