From: Sam Reed Date: Tue, 25 Jan 2011 19:58:20 +0000 (+0000) Subject: Fix r80982, re-add accidental removed AND during debugging X-Git-Tag: 1.31.0-rc.0~32364 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=0b5d5960af1c6b78af3ff23bd2c24878ac9e460c;p=lhc%2Fweb%2Fwiklou.git Fix r80982, re-add accidental removed AND during debugging --- diff --git a/includes/search/SearchMySQL.php b/includes/search/SearchMySQL.php index 1e35bc0747..4adfef41af 100644 --- a/includes/search/SearchMySQL.php +++ b/includes/search/SearchMySQL.php @@ -284,7 +284,7 @@ class SearchMySQL extends SearchEngine { $searchindex = $this->db->tableName( 'searchindex' ); return 'SELECT page_id, page_namespace, page_title ' . "FROM $page,$searchindex " . - 'WHERE page_id=si_page ' . $match; + 'WHERE page_id=si_page AND ' . $match; } function getCountQuery( $filteredTerm, $fulltext ) {