Actions
Bug #96418
closedgetTypoLink throws an error if get parameter are set
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2021-12-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
PHP Warning: Undefined array key "additionalParams" in
/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 5079
ContentObjectRenderer.php line 5079 is
$conf['additionalParams'] .= HttpUtility::buildQueryString($urlParameters, '&');
Should be like line 5082
$conf['additionalParams'] = ($conf['additionalParams'] ?? '') . HttpUtility::buildQueryString($urlParameters, '&');
Thanks
Actions