Project

General

Profile

Actions

Bug #96418

closed

getTypoLink throws an error if get parameter are set

Added by JAKOTA Design Group GmbH almost 3 years ago. Updated about 2 years ago.

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

Also available in: Atom PDF