Project

General

Profile

Bug #52060 ยป fix_52060.patch

(replace placeholder for throwing typo3 notices!) - Benjamin Pick, 2013-09-17 10:16

View differences:

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;
    (1-1/1)