From 6421b42963611ed807bfb2000694f2cce4b42611 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Thu, 18 Apr 2013 12:36:27 +0400
Subject: [PATCH] api/getHeadlines: increase limit to 200

---
 classes/api.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"]);
-- 
GitLab