Trace: fix warnings
This commit is contained in:
parent
7f418a06fe
commit
a02ed70d5d
@ -428,7 +428,7 @@ sub getValue
|
|||||||
my $value = 0;
|
my $value = 0;
|
||||||
if (!$login || !exists $self->{who} || $self->{who}{type} eq "group" || $self->{who}{login} eq $login)
|
if (!$login || !exists $self->{who} || $self->{who}{type} eq "group" || $self->{who}{login} eq $login)
|
||||||
{
|
{
|
||||||
foreach my $key (%{ $self->{values} })
|
foreach my $key (keys %{ $self->{values} })
|
||||||
{
|
{
|
||||||
$value += $self->{values}{$key} if ($id eq $self->{id} || !$key || $key eq $id);
|
$value += $self->{values}{$key} if ($id eq $self->{id} || !$key || $key eq $id);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user