Forked from
project / drupal
44304 commits behind the upstream repository.

Dries Buytaert
authored
- Replaced a "mysql_query()" by a "db_query" as identified by Moshe (see his sandbox) and fixed some typos in the module's comments. * Moshe: what are the $wordlist changes you made? Mind to elaborate a bit on those? * TODO: validate the SQL queries used in the search module using a SQL validator tool - I wonder whether they are ANSI compliant. - // If the word is preceeded by a "+", then this word is required, and + // If the word is proceeded by a "+", then this word is required, and - $inputword = ("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)"); - mysql_query($inputword); + db_query("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)"); } - // Zap the weighted words array, so we dont add multiples. + // Zap the weighted words array, so we don't add multiples.
Name | Last commit | Last update |
---|---|---|
database | ||
includes | ||
misc | ||
modules | ||
scripts | ||
themes | ||
.htaccess | ||
CHANGELOG | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
admin.php | ||
cron.php | ||
error.php | ||
favicon.ico | ||
index.php | ||
module.php | ||
node.php | ||
update.php | ||
xmlrpc.php |