diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-05-26 11:00:50 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-05-26 11:00:50 +0000 |
commit | 0908a06cd0a1b275f6cd29388ef0af1fffd8fd7e (patch) | |
tree | 5dbf83aa38e42eadbe8a1574d83961f4d39b42fb /modules/blog | |
parent | 4191481453a6fc68821ed91ab404f19d062c8eef (diff) | |
download | brdo-0908a06cd0a1b275f6cd29388ef0af1fffd8fd7e.tar.gz brdo-0908a06cd0a1b275f6cd29388ef0af1fffd8fd7e.tar.bz2 |
- 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.
Diffstat (limited to 'modules/blog')
0 files changed, 0 insertions, 0 deletions