diff options
Diffstat (limited to 'mkadvisories')
-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; |