- Fixed bug in search module. Patch by Gerhard.

4.1.x
Dries Buytaert 2002-11-25 15:52:04 +00:00
parent 062e7d7cbf
commit aab82c0aeb
2 changed files with 2 additions and 2 deletions

View File

@ -250,7 +250,7 @@ function update_index($search_array) {
** false count of the number of hist, and doesn't show up ** false count of the number of hist, and doesn't show up
** when clicking on a node from the search interface anyway. ** when clicking on a node from the search interface anyway.
*/ */
$wordlist = $node["text1"] . $node["text2"]; $wordlist = $node["text1"] ." ". $node["text2"];
// Strip heaps of stuff out of it // Strip heaps of stuff out of it
$wordlist = preg_replace("'<[\/\!]*?[^<>]*?>'si", "", $wordlist); $wordlist = preg_replace("'<[\/\!]*?[^<>]*?>'si", "", $wordlist);

View File

@ -250,7 +250,7 @@ function update_index($search_array) {
** false count of the number of hist, and doesn't show up ** false count of the number of hist, and doesn't show up
** when clicking on a node from the search interface anyway. ** when clicking on a node from the search interface anyway.
*/ */
$wordlist = $node["text1"] . $node["text2"]; $wordlist = $node["text1"] ." ". $node["text2"];
// Strip heaps of stuff out of it // Strip heaps of stuff out of it
$wordlist = preg_replace("'<[\/\!]*?[^<>]*?>'si", "", $wordlist); $wordlist = preg_replace("'<[\/\!]*?[^<>]*?>'si", "", $wordlist);