Skip to content
Snippets Groups Projects
Commit 7ce4f2b6 authored by Torben Hansen's avatar Torben Hansen Committed by Christian Kuhn
Browse files

[BUGFIX] Fix migration example for GeneralUtility::_GPmerged()


The migration example code is wrong, since the request
object has no method named `getQueryString()`. Instead,
`getQueryParams()` must be used.

Resolves: #100061
Releases: main
Signed-off-by: default avatarTorben Hansen <derhansen@gmail.com>
Change-Id: Iacda918b4f72647255560c4a983cd9b7099a032a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78001


Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarThomas Hohn <tho@gyldendal.dk>
Tested-by: default avatarThomas Hohn <tho@gyldendal.dk>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent f5465088
Branches
Tags
No related merge requests found
......@@ -61,7 +61,7 @@ Typical code:
$getMergedWithPost = GeneralUtility::_GPmerged('tx_scheduler');
// After
$getMergedWithPost = $request->getQueryString()['tx_scheduler'];
$getMergedWithPost = $request->getQueryParams()['tx_scheduler'];
ArrayUtility::mergeRecursiveWithOverrule($getMergedWithPost, $request->getParsedBody()['tx_scheduler']);
.. index:: Backend, PHP-API, FullyScanned, ext:backend
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment