diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-06-17 20:48:49 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-06-17 20:48:49 +0000 |
commit | c513b66e71d0be4cf947ccac69e9bfc69a5333ce (patch) | |
tree | 3a6bb616ff023557010f8f05e671fba6f607ff72 /tmpl/advisory.txt | |
parent | 472cd881bd9d799ef3680ed0c65a40ca2007ac2b (diff) | |
download | mgaadvisories-c513b66e71d0be4cf947ccac69e9bfc69a5333ce.tar mgaadvisories-c513b66e71d0be4cf947ccac69e9bfc69a5333ce.tar.gz mgaadvisories-c513b66e71d0be4cf947ccac69e9bfc69a5333ce.tar.bz2 mgaadvisories-c513b66e71d0be4cf947ccac69e9bfc69a5333ce.tar.xz mgaadvisories-c513b66e71d0be4cf947ccac69e9bfc69a5333ce.zip |
Make sure CVE is not displayed when not set
Diffstat (limited to 'tmpl/advisory.txt')
-rw-r--r-- | tmpl/advisory.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl/advisory.txt b/tmpl/advisory.txt index 016df71..6bfdf0a 100644 --- a/tmpl/advisory.txt +++ b/tmpl/advisory.txt @@ -6,7 +6,7 @@ Publication date: [% date.format(adv.status.published, format => '%d %b %Y', gmt URL: [% config.site_url %]/[% basename.ID(advisory) %].html Type: [% adv.type %] Affected Mageia releases: [% adv.src.keys.sort.join(', ') %] -[% IF adv.CVE.list.size != 0 -%] +[% IF adv.CVE && adv.CVE.list.size != 0 -%] CVE: [% adv.CVE.join(",\n ") %] [% END -%] |