diff --git a/backend.php b/backend.php index c7f0628c..58f921e6 100644 --- a/backend.php +++ b/backend.php @@ -585,8 +585,7 @@ case "fbexport": - // TODO: change to _POST - $access_key = db_escape_string($_REQUEST["key"]); + $access_key = db_escape_string($_POST["key"]); // TODO: rate limit checking using last_connected $result = db_query($link, "SELECT id FROM ttrss_linked_instances