[BUGFIX] Fix nested arrays in conditions
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / ExpressionLanguage / RequestWrapper.php
index af72b65..9067467 100644 (file)
@@ -48,9 +48,9 @@ class RequestWrapper
         return $this->request->getQueryParams();
     }
 
-    public function getParsedBody()
+    public function getParsedBody(): array
     {
-        return $this->request->getParsedBody();
+        return (array)($this->request->getParsedBody() ?? []);
     }
 
     public function getHeaders(): array