Actions
Bug #97329
closedMissing isset in indexed_search SearchController.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2022-04-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
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
Actions