Bug #52060 ยป fix_52060.patch
typo3/sysext/extbase/Classes/Service/FlexFormService.php | ||
---|---|---|
public function convertFlexFormContentToArray($flexFormContent, $languagePointer = 'lDEF', $valuePointer =
|
||
$settings = array();
|
||
$flexFormArray = \TYPO3\CMS\Core\Utility\GeneralUtility::xml2array($flexFormContent);
|
||
$flexFormArray = isset($flexFormArray['data']) ? $flexFormArray['data'] : array();
|
||
if (is_string($flexFormArray))
|
||
typo3_throw_notice_i_dont_know_how($flexFormArray);
|
||
$flexFormArray = is_array($flexFormArray) && isset($flexFormArray['data']) ? $flexFormArray['data'
|
||
foreach (array_values($flexFormArray) as $languages) {
|
||
if (!is_array($languages[$languagePointer])) {
|
||
continue;
|