Skip to content

Commit

Permalink
[BUGFIX] Avoid error on missing types in isRestructuringNeeded
Browse files Browse the repository at this point in the history
(cherry picked from commit 5f2909a)
  • Loading branch information
nhovratov committed Dec 16, 2023
1 parent 51b40e1 commit c49ed0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Definition/TableDefinitionCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function isRestructuringNeeded(): bool
return false;
}
foreach ($element->columns as $fieldKey) {
$fieldType = $ttContentDefinition->tca->getField($fieldKey)->getFieldType();
$fieldType = $this->getFieldType($fieldKey, 'tt_content', $element->key);
if ($fieldType->canBeShared()) {
return true;
}
Expand Down

0 comments on commit c49ed0b

Please sign in to comment.