From: Michael Date: Mon, 24 May 2021 05:22:25 +0000 (+0000) Subject: Return data should be array X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7b491178019276a2d3bbcdd9d237c18c2c5e31db;p=friendica.git Return data should be array --- diff --git a/src/Util/HTTPInputData.php b/src/Util/HTTPInputData.php index 8886b61e4c..7c90df5e1d 100644 --- a/src/Util/HTTPInputData.php +++ b/src/Util/HTTPInputData.php @@ -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);