Fix incorrect parsing of JSON request body containing multiple levels of objects

This commit is contained in:
Kijin Sung 2022-03-28 15:33:21 +09:00
parent f65fd952aa
commit 5e2d517296

View file

@ -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
{