aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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 d96c039..7a203fb 100644
--- a/lib/MGA/Advisories.pm
+++ b/lib/MGA/Advisories.pm
@@ -537,7 +537,7 @@ sub close_bugs {
report_log("Cannot close advisory bugs. Could not initialise bugzilla");
return;
}
- foreach my $adv (keys %{$advdb->{advisories}}) {
+ foreach my $adv (sort keys %{$advdb->{advisories}}) {
next if $advdb->{advisories}{$adv}{status}{bug_closed};
my $bugnum = 0;