Skip to content

Commit

Permalink
Merge branch 'hotfix/fix_load_data_container' into 'release/2.3.0'
Browse files Browse the repository at this point in the history
Fix load DataContainer

See merge request metamodels/core!298
  • Loading branch information
zonky2 committed Jul 10, 2024
2 parents 3fd6c4a + 5ebacc4 commit 6f00909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoreBundle/Contao/Hooks/LoadDataContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private function handleMetaModelTable(string $tableName): void
}

$GLOBALS['TL_DCA'][$tableName] = \array_replace_recursive(
(array) $GLOBALS['TL_DCA']['tl_metamodel_item'],
(array) ($GLOBALS['TL_DCA']['tl_metamodel_item'] ?? []),
(array) $GLOBALS['TL_DCA'][$tableName]
);
}
Expand Down

0 comments on commit 6f00909

Please sign in to comment.