We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed54f8f commit 689a0e2Copy full SHA for 689a0e2
1 file changed
Classes/Form/FormDataProvider/AllowedRecordTypesInSite.php
@@ -37,6 +37,9 @@ public function __construct(
37
public function addData(array $result): array
38
{
39
$tableName = $result['tableName'];
40
+ if (!$this->tcaSchemaFactory->has($tableName)) {
41
+ return $result;
42
+ }
43
$schema = $this->tcaSchemaFactory->get($tableName);
44
if ($tableName !== $schema->getName()) {
45
return $result;
0 commit comments