diff options
| author | Andrew Dolgov <fox@bah.org.ru> | 2009-12-29 18:49:27 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@bah.org.ru> | 2009-12-29 18:49:27 +0300 |
| commit | b4e75b2a25d0a30d77b2160c8195835c9816cfe0 (patch) | |
| tree | 9900c7c8e7ba8d3719ae8d7430866485838169d3 /api/index.php | |
| parent | 12e55b9017fe02824d52ef8639de11356ae2d4d4 (diff) | |
use POST parameters for frontend requests
Diffstat (limited to 'api/index.php')
| -rw-r--r-- | api/index.php | 2 |
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"]); |