Skip to content

Commit

Permalink
Merge pull request #30 from DFAU/fix/enalbe-category-includes-again-a…
Browse files Browse the repository at this point in the history
…fter-v11

fix: handle tca type 'category' in TcaResourceIncludeHandler (broken …
  • Loading branch information
twojtylak committed Jun 15, 2023
2 parents 2bf6ce0 + 648705c commit a6528d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/IncludeHandler/TcaResourceIncludeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ protected function buildTcaIncludes($tableName): array
switch ($columnConfig['type']) {
case 'select':
case 'inline':
case 'category':
if (!empty($columnConfig['foreign_table'])) {
return \array_merge($columnConfig, [static::REFERENCE_TABLE_NAME => [$columnConfig['foreign_table']]]);
}
Expand Down

0 comments on commit a6528d3

Please sign in to comment.