aboutsummaryrefslogtreecommitdiff
path: root/services/api/rest.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/api/rest.php')
-rw-r--r--services/api/rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/api/rest.php b/services/api/rest.php
index 543102e38..cee7ebc43 100644
--- a/services/api/rest.php
+++ b/services/api/rest.php
@@ -43,7 +43,7 @@
{
// Authenticated somehow, now execute.
$token = "";
- $params = $_REQUEST;
+ $params = $CONFIG->input;// Use $CONFIG->input instead of $_REQUEST since this is called by the pagehandler
if (isset($params['auth_token'])) $token = $params['auth_token'];
$result = execute_method($method, $params, $token);