aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MGA/Advisories.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MGA/Advisories.pm')
-rw-r--r--lib/MGA/Advisories.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm
index a69cf16..a5071e4 100644
--- a/lib/MGA/Advisories.pm
+++ b/lib/MGA/Advisories.pm
@@ -243,6 +243,7 @@ sub send_adv_mail {
INCLUDE_PATH => $config->{tmpl_dir},
);
foreach my $adv (keys %{$advdb->{advisories}}) {
+ next if $advdb->{advisories}{$adv}{no_mail};
next if $advdb->{advisories}{$adv}{status}{mail_sent};
my $mailcontent;
my $vars = {