forked from lix-project/hydra
This commit is contained in:
parent
0c0175d88e
commit
9933dd2f27
|
@ -136,6 +136,7 @@ sub updateProject {
|
||||||
# current ones, then create the new values.
|
# current ones, then create the new values.
|
||||||
$input->jobsetinputalts->delete_all;
|
$input->jobsetinputalts->delete_all;
|
||||||
my $values = $c->request->params->{"jobset-$baseName-input-$baseName2-values"};
|
my $values = $c->request->params->{"jobset-$baseName-input-$baseName2-values"};
|
||||||
|
$values = [] unless defined $values;
|
||||||
$values = [$values] unless ref($values) eq 'ARRAY';
|
$values = [$values] unless ref($values) eq 'ARRAY';
|
||||||
my $altnr = 0;
|
my $altnr = 0;
|
||||||
foreach my $value (@{$values}) {
|
foreach my $value (@{$values}) {
|
||||||
|
|
Loading…
Reference in a new issue