Change search term requirements

develop
Sven Slootweg 12 years ago
parent 3f02174ba3
commit efeef5f70e

@ -31,7 +31,7 @@ else
{
$db_query_terms[] = "`Title` LIKE ?";
$term = str_replace("%", "\%", $term);
$valid_term = $valid_term || (strlen($term) > 2);
$valid_term = $valid_term || (strlen($term) >= 2);
$db_query_arguments[] = "%{$term}%";
}

Loading…
Cancel
Save