From: Nick Jenkins Date: Wed, 29 Nov 2006 11:58:49 +0000 (+0000) Subject: Variable name typo, but again I'm guessing this function isn't used if no-one has... X-Git-Tag: 1.31.0-rc.0~55041 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=e6225325a6dd428a366c36db21cf1b4819fd452a;p=lhc%2Fweb%2Fwiklou.git Variable name typo, but again I'm guessing this function isn't used if no-one has complained. --- diff --git a/includes/SearchTsearch2.php b/includes/SearchTsearch2.php index e4c94c7e98..1fca989963 100644 --- a/includes/SearchTsearch2.php +++ b/includes/SearchTsearch2.php @@ -113,7 +113,7 @@ class SearchTsearch2 extends SearchEngine { $dbw=& wfGetDB(DB_MASTER); $searchindex = $dbw->tableName( 'searchindex' ); $sql = "UPDATE $searchindex SET si_title=to_tsvector('" . - $db->strencode( $title ) . + $dbw->strencode( $title ) . "') WHERE si_page={$id}"; $dbw->query( $sql, "SearchMySQL4::updateTitle" );