summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-18 12:36:27 +0400
committerAndrew Dolgov <[email protected]>2013-04-18 12:36:27 +0400
commit6421b42963611ed807bfb2000694f2cce4b42611 (patch)
treed46649dbb227a27e21599c221c63eba33b185968 /classes/api.php
parent1ffe3391f902c4baa984982f19e61a0e45de21ff (diff)
api/getHeadlines: increase limit to 200
Diffstat (limited to 'classes/api.php')
-rw-r--r--classes/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php
index 9e99ed007..c2b7f2a8e 100644
--- a/classes/api.php
+++ b/classes/api.php
@@ -185,7 +185,7 @@ class API extends Handler {
$limit = (int)$this->dbh->escape_string($_REQUEST["limit"]);
- if (!$limit || $limit >= 60) $limit = 60;
+ if (!$limit || $limit >= 200) $limit = 200;
$offset = (int)$this->dbh->escape_string($_REQUEST["skip"]);
$filter = $this->dbh->escape_string($_REQUEST["filter"]);