Actions
Bug #99846
closedPHP Warning in FlexFormService.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2023-02-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
We've got a warning in
typo3/sysext/core/Classes/Service/FlexFormService.php
public function convertFlexFormContentToArray($flexFormContent, $languagePointer = 'lDEF', $valuePointer = 'vDEF')
foreach (array_values($flexFormArray) as $languages) {
if (!is_array($languages[$languagePointer])) {
continue;
}
could / should be:
foreach (array_values($flexFormArray) as $languages) {
if (isset($languages[$languagePointer])){
if (!is_array($languages[$languagePointer])) {
continue;
}
Actions