aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-13 21:40:30 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-13 21:40:30 +0000
commit5884a983615ed2edd70fdcbd635e5245171ee811 (patch)
treeda31719c57114af3267619fdddce51aaa5afd340 /lib
parentaebd04840667b51bcf98bef4a0797f9a7d84483f (diff)
downloadmgaadvisories-5884a983615ed2edd70fdcbd635e5245171ee811.tar
mgaadvisories-5884a983615ed2edd70fdcbd635e5245171ee811.tar.gz
mgaadvisories-5884a983615ed2edd70fdcbd635e5245171ee811.tar.bz2
mgaadvisories-5884a983615ed2edd70fdcbd635e5245171ee811.tar.xz
mgaadvisories-5884a983615ed2edd70fdcbd635e5245171ee811.zip
Fix hash which was not dereferenced
Diffstat (limited to 'lib')
-rw-r--r--lib/MGA/Advisories.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm
index 7a58b0e..848bf24 100644
--- a/lib/MGA/Advisories.pm
+++ b/lib/MGA/Advisories.pm
@@ -152,7 +152,7 @@ sub sort_advisories {
$advdb->{$by}{$k} = [ adv_sort($advdb, @{$advdb->{$by}{$k}}) ];
}
}
- $advdb->{sorted} = [ adv_sort($advdb, keys $advdb->{advisories}) ];
+ $advdb->{sorted} = [ adv_sort($advdb, keys %{$advdb->{advisories}}) ];
}
sub process_template {