if no emailoverride specified, use empty string

This commit is contained in:
Rob Vermaas 2011-03-07 16:02:23 +00:00
parent 5c187a0640
commit 107a879adc

View file

@ -155,7 +155,7 @@ sub create_jobset_submit : Chained('project') PathPart('create-jobset/submit') A
# Note: $jobsetName is validated in updateProject, which will
# abort the transaction if the name isn't valid.
my $jobset = $c->stash->{project}->jobsets->create(
{name => $jobsetName, nixexprinput => "", nixexprpath => ""});
{name => $jobsetName, nixexprinput => "", nixexprpath => "", emailoverride => ""});
Hydra::Controller::Jobset::updateJobset($c, $jobset);
});