sforkowany z mirror/friendica
Return data should be array
rodzic
db9ebccdc0
commit
7b49117801
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue