diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-06-12 22:16:45 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-06-12 22:16:45 +0000 |
commit | d351d900cf9e3559da9bf31cd34e735c3aff0692 (patch) | |
tree | 4e113edc7f434597df22e5214426feb159310856 | |
parent | 4ab64b8441221249972b3cfe2161cc72885a64f4 (diff) | |
download | mgaadvisories-0.2.tar mgaadvisories-0.2.tar.gz mgaadvisories-0.2.tar.bz2 mgaadvisories-0.2.tar.xz mgaadvisories-0.2.zip |
dereference hash for 'keys'0.2
-rwxr-xr-x | mkadvisories | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkadvisories b/mkadvisories index 5b5dbf8..1c957cb 100755 --- a/mkadvisories +++ b/mkadvisories @@ -75,7 +75,7 @@ sub publish_advisories { sub sort_advisories { my ($advdb) = @_; - foreach my $adv (keys $advdb->{advisories}) { + foreach my $adv (keys %{$advdb->{advisories}}) { push @{$advdb->{by_type}{$advdb->{advisories}{$adv}{type}}}, $adv; foreach my $cve (@{$advdb->{advisories}{$adv}{CVE}}) { push @{$advdb->{by_cve}{$cve}}, $adv; |