diff options
author | Andrew Dolgov <[email protected]> | 2010-12-16 09:47:12 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-12-16 09:47:12 +0300 |
commit | ee273da6fa99a5a6508ef23d64dddd1f77a3c9ca (patch) | |
tree | ef9c2b400d8a069669d84e6a124ae0d4cc205155 /api/index.php | |
parent | 66ad06518c5fcba2cb3c817d995417ad8fcf9099 (diff) |
api: use is_cat in getArticles and catchupFeed for consistency with other methods
Diffstat (limited to 'api/index.php')
-rw-r--r-- | api/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/index.php b/api/index.php index e396551d4..53431f479 100644 --- a/api/index.php +++ b/api/index.php @@ -326,7 +326,7 @@ case "catchupFeed": $feed_id = db_escape_string($_REQUEST["feed_id"]); - $is_cat = db_escape_string($_REQUEST["category"]); + $is_cat = db_escape_string($_REQUEST["is_cat"]); catchup_feed($link, $feed_id, $is_cat); @@ -343,7 +343,7 @@ /* Method added for ttrss-reader for Android */ case "getArticles": - $isCategory = (int)db_escape_string($_REQUEST["is_category"]); + $isCategory = (int)db_escape_string($_REQUEST["is_cat"]); $id = (int)db_escape_string($_REQUEST["id"]); $displayUnread = (int)db_escape_string($_REQUEST["unread"]); $limit = (int)db_escape_string($_REQUEST["limit"]); |