mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Station location] Changed county limit to 300 to avoid result getting truncated.
This commit is contained in:
@@ -167,8 +167,8 @@ class Station extends CI_Controller {
|
||||
$i = 0;
|
||||
foreach ($result as &$value) {
|
||||
$county = explode(',', $value);
|
||||
// Limit to 100 as to not slowdown browser too much
|
||||
if (count($json) <= 100) {
|
||||
// Limit to 300 as to not slowdown browser too much
|
||||
if (count($json) <= 300) {
|
||||
$json[] = ["name"=>$county[1]];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user