aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisory.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-12 22:53:03 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-12 22:53:03 +0000
commit7485dbbbc0ed7e543640fa17b477b4d99a5b373a (patch)
tree472cb2fe81c2ef8ff83fb6d8960e05780ed66dcf /tmpl/advisory.html
parent54535a6a6d6fdebeb973147de137de0a3f27baf9 (diff)
downloadmgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.tar
mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.tar.gz
mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.tar.bz2
mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.tar.xz
mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.zip
advisory.{html,txt}: don't add a CVE line when there is no CVE
Diffstat (limited to 'tmpl/advisory.html')
-rw-r--r--tmpl/advisory.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl/advisory.html b/tmpl/advisory.html
index 177933a..ed59561 100644
--- a/tmpl/advisory.html
+++ b/tmpl/advisory.html
@@ -20,7 +20,7 @@
<br />
[% SET sep = '' %]
- [% IF adv.CVE %]
+ [% IF adv.CVE.list.size != 0 %]
CVE:
[% FOREACH cve IN adv.CVE %]
[% sep %]