Commit f6f8761a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix to how we invoke XMLin to make sure we get arrays all the

time, even when just a single param.
parent faa7a50e
......@@ -320,6 +320,7 @@ if (defined($paramfile)) {
my $parse = XMLin($paramfile,
VarAttr => 'name',
ForceArray => ['parameter'],
ContentKey => '-content',
SuppressEmpty => undef);
......
......@@ -244,6 +244,7 @@ if (defined($paramfile)) {
my $parse = XMLin($paramfile,
VarAttr => 'name',
ForceArray => ['parameter'],
ContentKey => '-content',
SuppressEmpty => undef);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment