Bug #97329
closedMissing isset in indexed_search SearchController.php
100%
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
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74218
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74218
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74235
Updated by Georg Ringer over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f3194d00bad8a3828a1876d4ef7c2890f3216325.