mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:05:55 +00:00
api: use is_cat in getArticles and catchupFeed for consistency with other methods
This commit is contained in:
@@ -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"]);
|
||||
|
||||
Reference in New Issue
Block a user