fix for buildsteps starting at 0, probably something changed in catalyst
This commit is contained in:
parent
203716597d
commit
f34ec401ba
|
@ -244,7 +244,7 @@ sub doBuild {
|
||||||
|
|
||||||
my $max = $build->buildsteps->find(
|
my $max = $build->buildsteps->find(
|
||||||
{}, {select => {max => 'stepnr + 1'}, as => ['max']});
|
{}, {select => {max => 'stepnr + 1'}, as => ['max']});
|
||||||
my $buildStepNr = defined $max ? $max->get_column('max') : 1;
|
my $buildStepNr = (defined $max && defined $max->get_column('max')) ? $max->get_column('max') : 1;
|
||||||
|
|
||||||
my %buildSteps;
|
my %buildSteps;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue