This commit is contained in:
Eelco Dolstra 2008-11-17 13:39:01 +00:00
parent 0c0175d88e
commit 9933dd2f27

View file

@ -136,6 +136,7 @@ sub updateProject {
# current ones, then create the new values.
$input->jobsetinputalts->delete_all;
my $values = $c->request->params->{"jobset-$baseName-input-$baseName2-values"};
$values = [] unless defined $values;
$values = [$values] unless ref($values) eq 'ARRAY';
my $altnr = 0;
foreach my $value (@{$values}) {