Bug 8117 follow-up remove perl warning
first & last were already defined, removing my
This commit is contained in:
parent
f4dadc955c
commit
d3fcc8b973
1 changed files with 3 additions and 2 deletions
|
@ -270,8 +270,9 @@ $results = GetBudgetPeriods(
|
|||
{budget_period_active => 0},
|
||||
[{budget_period_enddate => 1}]
|
||||
);
|
||||
my $first = ( $inactivepage - 1 ) * $inactivepagesize;
|
||||
my $last = min( $first + $inactivepagesize - 1, scalar @{$results} - 1, );
|
||||
|
||||
$first = ( $inactivepage - 1 ) * $inactivepagesize;
|
||||
$last = min( $first + $inactivepagesize - 1, scalar @{$results} - 1, );
|
||||
my @period_inactive_loop;
|
||||
foreach my $result ( @{$results}[ $first .. $last ] ) {
|
||||
my $budgetperiod = $result;
|
||||
|
|
Loading…
Reference in a new issue