Index: modules/search.module =================================================================== RCS file: /cvs/drupal/drupal/modules/search.module,v retrieving revision 1.130 diff -u -F^f -r1.130 search.module --- modules/search.module 27 Jul 2005 01:27:09 -0000 1.130 +++ modules/search.module 27 Jul 2005 21:04:24 -0000 @@ -476,7 +476,7 @@ function do_search($keywords, $type, $jo $refused = array(); // Build WHERE clause foreach ($keys as $word) { - if (drupal_substr($word) < variable_get('remove_short', 3)) { + if (drupal_strlen($word) < variable_get('remove_short', 3)) { if ($word != '') { $refused[] = str_replace('�', '*', $word); }