Commit 31ebc329 authored by Steven Wittens's avatar Steven Wittens
Browse files

- #27626: Correct function name

parent 354e0c1f
......@@ -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);
}
......
......@@ -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);
}
......
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