diff --git a/frontend/modules/api/search.php b/frontend/modules/api/search.php index 7adfdac..943b545 100644 --- a/frontend/modules/api/search.php +++ b/frontend/modules/api/search.php @@ -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}%"; }