Skip to content

Commit

Permalink
[BUGFIX] Handle empty form IDs in new content wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Oct 27, 2018
1 parent a2ec39a commit 70065e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Integration/ContentTypeBuilder.php
Expand Up @@ -255,7 +255,7 @@ public function addBoilerplateTableConfiguration($contentType)
protected function addPageTsConfig(Form $form, $contentType)
{
// Icons required solely for use in the "new content element" wizard
$formId = $form->getId();
$formId = $form->getId() ?: $contentType;
$group = $form->getOption(Form::OPTION_GROUP);
$groupName = $this->sanitizeString($group ?? 'fluxContent');
$extensionKey = ExtensionNamingUtility::getExtensionKey($form->getExtensionName());
Expand Down

0 comments on commit 70065e5

Please sign in to comment.