}
}
+ # multiple plugins can have the same field
+ my $name=defined $plugin ? $plugin.".".$key : $key;
+
my $value=$config{$key};
- if (ref $config{$key} eq 'ARRAY' || ref $info{example} eq 'ARRAY') {
+
+ if ($info{safe} && (ref $config{$key} eq 'ARRAY' || ref $info{example} eq 'ARRAY')) {
push @{$value}, "", ""; # blank items for expansion
}
- # multiple plugins can have the same field
- my $name=defined $plugin ? $plugin.".".$key : $key;
-
if ($info{type} eq "string") {
$form->field(
name => $name,