Commit aab82c0a authored by Dries's avatar Dries

- Fixed bug in search module.  Patch by Gerhard.
parent 062e7d7c
......@@ -250,7 +250,7 @@ function update_index($search_array) {
** false count of the number of hist, and doesn't show up
** 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
$wordlist = preg_replace("'<[\/\!]*?[^<>]*?>'si", "", $wordlist);
......
......@@ -250,7 +250,7 @@ function update_index($search_array) {
** false count of the number of hist, and doesn't show up
** 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
$wordlist = preg_replace("'<[\/\!]*?[^<>]*?>'si", "", $wordlist);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment