Skip to content
Snippets Groups Projects
Commit 80fe2ef4 authored by John Pitcairn's avatar John Pitcairn Committed by Jonathan Sacksick
Browse files

Issue #3254971 by mrweiner, finne, John Pitcairn: PluginSelectWidget not allowing '- None- '.

parent ae4c2d16
Branches
Tags
2 merge requests!235Issue #3115150 by mbovan: Submitting add to cart form with empty quantity...,!205Issue #3349465 by tBKoT, jsacksick, bojanz: Update several VAT rates and setup...
......@@ -132,7 +132,7 @@ class PluginSelectWidget extends WidgetBase implements ContainerFactoryPluginInt
];
// Only build the configuration form once a plugin ID has been selected.
if ($target_plugin_id !== NULL) {
if (!empty($target_plugin_id)) {
$inline_form = $this->inlineFormManager->createInstance('plugin_configuration', [
'plugin_type' => $plugin_type,
'plugin_id' => $target_plugin_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment