mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix incorrect parsing of JSON request body containing multiple levels of objects
This commit is contained in:
parent
f65fd952aa
commit
5e2d517296
1 changed files with 1 additions and 1 deletions
|
|
@ -1191,7 +1191,7 @@ class Context
|
|||
{
|
||||
if(substr($GLOBALS['HTTP_RAW_POST_DATA'], 0, 1) === '{')
|
||||
{
|
||||
$params = json_decode($GLOBALS['HTTP_RAW_POST_DATA']);
|
||||
$params = json_decode($GLOBALS['HTTP_RAW_POST_DATA'], true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue