From 2855ee88bdc2c480d1a0c6cfbb1d35f660cd88dc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 25 Apr 2009 12:15:26 +0400 Subject: catchupSelected: pass ids in POST to prevent url size limit problems --- modules/backend-rpc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/backend-rpc.php') 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); -- cgit v1.2.3