summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-04-25 12:15:26 +0400
committerAndrew Dolgov <[email protected]>2009-04-25 12:15:26 +0400
commit2855ee88bdc2c480d1a0c6cfbb1d35f660cd88dc (patch)
tree219eff2d64fc7f087b91ce895086dac4feb0ff18 /modules
parent32d2181b921907f42d6f30b06c6637f11dc7fe59 (diff)
catchupSelected: pass ids in POST to prevent url size limit problems
Diffstat (limited to 'modules')
-rw-r--r--modules/backend-rpc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 8b22bf850..3e4a94340 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -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);