forked from Business/BinStack
Fix bug
This commit is contained in:
parent
129efd13c7
commit
3f32258ba0
@ -18,7 +18,7 @@ if ($_SERVER['REQUEST_METHOD'] != "GET") {
|
|||||||
$requestbody = file_get_contents('php://input');
|
$requestbody = file_get_contents('php://input');
|
||||||
$requestjson = json_decode($requestbody, TRUE);
|
$requestjson = json_decode($requestbody, TRUE);
|
||||||
if (json_last_error() == JSON_ERROR_NONE) {
|
if (json_last_error() == JSON_ERROR_NONE) {
|
||||||
$requestdata = array_merge($requestdata, $requestjson);
|
$VARS = array_merge($VARS, $requestjson);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we're not using the old api.php file, allow more flexible requests
|
// If we're not using the old api.php file, allow more flexible requests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user