diff options
Diffstat (limited to 'api')
-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"]); |