Fix
This commit is contained in:
parent
316f0d6bd9
commit
c9e4aa3279
1 changed files with 3 additions and 1 deletions
|
@ -348,7 +348,9 @@ sub compute ($$$;$$$)
|
|||
if ($glob ne $ref)
|
||||
{
|
||||
my $value = 0;
|
||||
$value += $ids->{$_} while (grep { /^$glob$/ } keys %$ids);
|
||||
for my $r (grep { /^$glob$/ } keys %$ids) {
|
||||
$value += $ids->{ $r };
|
||||
}
|
||||
$ids->{ $ref } = $value;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue