mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
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
|
||||
$content = static::getPhpInputContent();
|
||||
|
||||
$variables = json_decode($content);
|
||||
$variables = json_decode($content, true);
|
||||
|
||||
if (empty($variables)) {
|
||||
parse_str($content, $variables);
|
||||
|
|
Loading…
Reference in a new issue