Return data should be array

This commit is contained in:
Michael 2021-05-24 05:22:25 +00:00
parent db9ebccdc0
commit 7b49117801

View file

@ -60,7 +60,7 @@ class HTTPInputData
// can be handled by built in PHP functionality
$content = static::getPhpInputContent();
$variables = json_decode($content);
$variables = json_decode($content, true);
if (empty($variables)) {
parse_str($content, $variables);