diff --git a/ajax.php b/ajax.php index 0d50087e..f64e080b 100644 --- a/ajax.php +++ b/ajax.php @@ -17,9 +17,6 @@ function error($msg) { Header("Content-Type: application/json; charset=UTF-8"); $postdata = file_get_contents("php://input"); -if ($postdata) { - $postdata = json_decode($postdata, true); -} $fun = "ajax_{$_REQUEST['__func']}"; $return = $fun($_REQUEST, $postdata); diff --git a/src/options.php b/src/options.php index 69153560..8999e230 100644 --- a/src/options.php +++ b/src/options.php @@ -1,5 +1,7 @@