Default to [] if no default provided

This commit is contained in:
Chris 2020-05-24 17:52:54 +01:00
parent b7e6e8c5d5
commit 13e7c201f4

View File

@ -719,7 +719,7 @@ sub wizard_box {
sub build_optionlist {
my $self = shift;
my $options = shift;
my $default = shift;
my $default = shift // [];
my $selectopts = shift;
# May as well hard-code the option template.