Default to [] if no default provided
This commit is contained in:
parent
b7e6e8c5d5
commit
13e7c201f4
@ -719,7 +719,7 @@ sub wizard_box {
|
|||||||
sub build_optionlist {
|
sub build_optionlist {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $options = shift;
|
my $options = shift;
|
||||||
my $default = shift;
|
my $default = shift // [];
|
||||||
my $selectopts = shift;
|
my $selectopts = shift;
|
||||||
|
|
||||||
# May as well hard-code the option template.
|
# May as well hard-code the option template.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user