summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-07-29 06:43:32 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-07-29 06:43:32 +0000
commit31ebc329822f1695d91db53500c7dfe649d08b87 (patch)
tree416d5836769205fc2a984ed22c6bbb1ae744da72 /modules/search
parent354e0c1f83c83bd134cd5d682f5ddcb2316f7c75 (diff)
downloadbrdo-31ebc329822f1695d91db53500c7dfe649d08b87.tar.gz
brdo-31ebc329822f1695d91db53500c7dfe649d08b87.tar.bz2
- #27626: Correct function name
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 3f6a357d9..177ac74f1 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -476,7 +476,7 @@ function do_search($keywords, $type, $join = '', $where = '1', $variation = true
$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);
}