diff --git a/demos/autocomplete/search.php b/demos/autocomplete/search.php index 7daecfbf5..01206489a 100644 --- a/demos/autocomplete/search.php +++ b/demos/autocomplete/search.php @@ -632,7 +632,7 @@ foreach ($items as $key=>$value) { if (strpos(strtolower($key), $q) !== false) { array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key))); } - if (count($result) > 12) + if (count($result) > 11) break; } echo array_to_json($result);