aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/autocomplete/search.php')
-rw-r--r--demos/autocomplete/search.php2
1 files changed, 1 insertions, 1 deletions
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);