]> git.wh0rd.org - tt-rss.git/commitdiff
api/getHeadlines: increase limit to 200
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 18 Apr 2013 08:36:27 +0000 (12:36 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 18 Apr 2013 08:36:27 +0000 (12:36 +0400)
classes/api.php

index 9e99ed007f94147181bc1f63f1f80be3e76ddd4b..c2b7f2a8ebddd13f19bcf79c094e13f46c21199e 100644 (file)
@@ -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"]);