1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-02 06:39:14 +00:00

catchupSelected: pass ids in POST to prevent url size limit problems

This commit is contained in:
Andrew Dolgov
2009-04-25 12:15:26 +04:00
parent 32d2181b92
commit 2855ee88bd
2 changed files with 22 additions and 10 deletions

View File

@@ -193,8 +193,8 @@
/* GET["cmode"] = 0 - mark as read, 1 - as unread, 2 - toggle */
if ($subop == "catchupSelected") {
$ids = split(",", db_escape_string($_GET["ids"]));
$cmode = sprintf("%d", $_GET["cmode"]);
$ids = split(",", db_escape_string($_REQUEST["ids"]));
$cmode = sprintf("%d", $_REQUEST["cmode"]);
catchupArticlesById($link, $ids, $cmode);