#97329Missing isset in indexed_search SearchController.php
Description
In typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 492 and 538 there is a missing isset
if ($GLOBALS[‘TSFE’]->config[‘config’][‘fileTarget’])
Should be
if (isset($GLOBALS[‘TSFE’]->config[‘config’][‘fileTarget’]))
The missing isset cause an error in frontend under certain circumstances:
PHP Warning: Undefined array key "fileTarget" in /var/www/html/private/typo3/sysext/indexed_search/Classes/Controller/SearchController.php line 492
Reviews 2
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 74218 status
NewUnder Review 04/07/22, 13:20 -
Gerrit Code Review pushed patch set 2 for main to change 74218 04/07/22, 22:38
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 74235 04/07/22, 22:59
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 04/07/22, 23:05 -
Benni Mack changed status
ResolvedClosed 10/04/22, 14:05
Applied in changeset commit:f3194d00bad8a3828a1876d4ef7c2890f3216325.