aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisory.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/advisory.txt')
-rw-r--r--tmpl/advisory.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/tmpl/advisory.txt b/tmpl/advisory.txt
index 41db6d2..2094722 100644
--- a/tmpl/advisory.txt
+++ b/tmpl/advisory.txt
@@ -6,10 +6,9 @@ Publication date: [% date.format(adv.pubtime, format => '%d %b %Y', gmt => 1) %]
URL: [% config.site_url %]/[% basename.ID(advisory) %].html
Type: [% adv.type %]
Affected Mageia releases: [% adv.src.keys.sort.join(', ') %]
-[% IF adv.CVE -%]
+[% IF adv.CVE.list.size != 0 -%]
CVE: [% adv.CVE.join(",\n ") %]
-[%- END -%]
-
+[% END -%]
Description:
[% adv.description -%]