From 7b491178019276a2d3bbcdd9d237c18c2c5e31db Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 24 May 2021 05:22:25 +0000 Subject: [PATCH] Return data should be array --- src/Util/HTTPInputData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);