Skip to content
Snippets Groups Projects

Issue #3358281: Wrong bundle form is displayed if user has permissions to create only of the available bundles

Merged Issue #3358281: Wrong bundle form is displayed if user has permissions to create only of the available bundles
Merged Brian Osborne requested to merge issue/inline_entity_form-3358281:8.x-1.x into 2.0.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -1078,7 +1078,7 @@ class InlineEntityFormComplex extends InlineEntityFormBase implements ContainerF
@@ -1078,7 +1078,7 @@ class InlineEntityFormComplex extends InlineEntityFormBase implements ContainerF
return $ief_settings['bundle'];
return $ief_settings['bundle'];
}
}
else {
else {
$target_bundles = $this->getTargetBundles();
$target_bundles = $this->getCreateBundles();
return reset($target_bundles);
return reset($target_bundles);
}
}
}
}
Loading