diff --git a/Classes/Request/Parameters.php b/Classes/Request/Parameters.php index 463d4cc..b88430b 100644 --- a/Classes/Request/Parameters.php +++ b/Classes/Request/Parameters.php @@ -35,6 +35,7 @@ * */ +use TYPO3\CMS\Core\Utility\ArrayUtility; use TYPO3\CMS\Core\Utility\GeneralUtility; @@ -90,10 +91,13 @@ static public function getPiVars () self::$prefixId && !isset(self::$piVars[self::$prefixId]) ) { - self::$piVars = GeneralUtility::_GPmerged(self::$prefixId); + self::$piVars = $GLOBALS['TYPO3_REQUEST']->getQueryParams()[self::$prefixId]; + ArrayUtility::mergeRecursiveWithOverrule( + self::$piVars, + $GLOBALS['TYPO3_REQUEST']->getParsedBody()[self::$prefixId] + ); } $result = self::$piVars; return $result; } } -