Skip to content

Commit

Permalink
deprecation 99615 - GeneralUtility::_GPmerged
Browse files Browse the repository at this point in the history
  • Loading branch information
franzholz committed Oct 23, 2024
1 parent 57b30a4 commit e35f2ca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Classes/Request/Parameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
*
*/

use TYPO3\CMS\Core\Utility\ArrayUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;


Expand Down Expand Up @@ -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;
}
}

0 comments on commit e35f2ca

Please sign in to comment.