summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-12-29 18:49:27 +0300
committerAndrew Dolgov <[email protected]>2009-12-29 18:49:27 +0300
commitb4e75b2a25d0a30d77b2160c8195835c9816cfe0 (patch)
tree9900c7c8e7ba8d3719ae8d7430866485838169d3 /api
parent12e55b9017fe02824d52ef8639de11356ae2d4d4 (diff)
use POST parameters for frontend requests
Diffstat (limited to 'api')
-rw-r--r--api/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php
index dc3d183f8..0e07abb4b 100644
--- a/api/index.php
+++ b/api/index.php
@@ -269,7 +269,7 @@
break;
case "updateArticle":
- $article_id = (int) db_escape_string($_GET["article_id"]);
+ $article_id = (int) db_escape_string($_REQUEST["article_id"]);
$mode = (int) db_escape_string($_REQUEST["mode"]);
$field_raw = (int)db_escape_string($_REQUEST["field"]);