1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-26 15:51:28 +00:00

update: add option to send digests

This commit is contained in:
Andrew Dolgov
2019-03-21 07:44:39 +03:00
parent 6ae0a3dd3e
commit 3bd3324e5a
3 changed files with 15 additions and 9 deletions

View File

@@ -287,7 +287,7 @@ class RPC extends Handler_Protected {
/* GET["cmode"] = 0 - mark as read, 1 - as unread, 2 - toggle */
function catchupSelected() {
$ids = explode(",", clean($_REQUEST["ids"]));
$cmode = sprintf("%d", clean($_REQUEST["cmode"]));
$cmode = (int)clean($_REQUEST["cmode"]);
Article::catchupArticlesById($ids, $cmode);