Skip to content
Snippets Groups Projects
Commit 2bd8a1e3 authored by Owen Bush's avatar Owen Bush
Browse files

Fixing autoselection of plugin breaking

parent 98b9f9ec
No related branches found
No related tags found
No related merge requests found
......@@ -366,11 +366,9 @@ class FieldInheritanceForm extends EntityForm {
unset($plugins[$key]);
}
}
$default_plugins = ['' => $this->t('- Select -')];
if (!empty($plugins)) {
$plugins = array_merge($default_plugins, $plugins);
}
else {
if (empty($plugins)) {
$plugins = $default_plugins;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment