Issue Bug Closed

#96418getTypoLink throws an error if get parameter are set

JAKOTA Design Group GmbH 12/21/21, 15:36 updated 10/04/22, 14:14

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

Reviews 2

History 24

  1. Gerrit Code Review pushed patch set 1 for main to change 72792 status New Under Review 12/22/21, 14:35

  2. Gerrit Code Review pushed patch set 1 for 11.5 to change 72783 12/23/21, 12:48

  3. Chris Müller commented and changed status Under Review Resolved done 0 % 100 % 12/23/21, 12:50

    Applied in changeset commit:93e1f9eca62694fa1323aec7f8ebd620f73fbbbd.

  4. Benni Mack changed status Resolved Closed 10/04/22, 14:14