From: Andrew Dolgov Date: Thu, 18 Apr 2013 08:36:27 +0000 (+0400) Subject: api/getHeadlines: increase limit to 200 X-Git-Tag: 1.7.9~25^2~144 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6421b42963611ed807bfb2000694f2cce4b42611;p=tt-rss.git api/getHeadlines: increase limit to 200 --- diff --git a/classes/api.php b/classes/api.php index 9e99ed00..c2b7f2a8 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"]);