Return data should be array
This commit is contained in:
parent
db9ebccdc0
commit
7b49117801
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class HTTPInputData
|
||||||
// can be handled by built in PHP functionality
|
// can be handled by built in PHP functionality
|
||||||
$content = static::getPhpInputContent();
|
$content = static::getPhpInputContent();
|
||||||
|
|
||||||
$variables = json_decode($content);
|
$variables = json_decode($content, true);
|
||||||
|
|
||||||
if (empty($variables)) {
|
if (empty($variables)) {
|
||||||
parse_str($content, $variables);
|
parse_str($content, $variables);
|
||||||
|
|
Loading…
Reference in a new issue