summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/search.module2
-rw-r--r--modules/search/search.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/search.module b/modules/search.module
index bb2bff481..ab56bbcec 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -246,7 +246,7 @@ function update_index($search_array) {
** the number of times it appears in a page.
*/
foreach ($eachword as $word) {
- if (strlen($word) > $minimum_word_size) {
+ if (strlen($word) >= $minimum_word_size) {
if ($newwords[$word]) {
$newwords[$word]++;
}
diff --git a/modules/search/search.module b/modules/search/search.module
index bb2bff481..ab56bbcec 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -246,7 +246,7 @@ function update_index($search_array) {
** the number of times it appears in a page.
*/
foreach ($eachword as $word) {
- if (strlen($word) > $minimum_word_size) {
+ if (strlen($word) >= $minimum_word_size) {
if ($newwords[$word]) {
$newwords[$word]++;
}