Skip to content

Commit

Permalink
[BUGFIX] Fix loading of sections
Browse files Browse the repository at this point in the history
Related: #497
Release: 12.0.0
  • Loading branch information
opi99 committed Nov 29, 2023
1 parent b1688ea commit 5f3797b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Service/ProcessingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ protected function getNodeChildsFromElements(array $baseNode, string $baseSheetK
$vKeys = ['vDEF'];

foreach ($elements as $fieldKey => $fieldConfig) {
if (($fieldConfig['config']['type'] ?? '') === 'array') {
if ($fieldConfig['section']) {
if (($fieldConfig['type'] ?? '') === 'array') {
if ($fieldConfig['section'] ?? '' === 1) {
if (isset($values[$fieldKey]['el'])) {
foreach ($values[$fieldKey]['el'] as $key => $fieldValue) {
$childs[$fieldKey][$key] = $this->getNodeChildsFromElements($baseNode, $baseSheetKey, $fieldConfig['el'], $lKey, $fieldValue, $basePid, $usedElements);
Expand Down

0 comments on commit 5f3797b

Please sign in to comment.