aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisory.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-17 20:48:49 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-17 20:48:49 +0000
commitc513b66e71d0be4cf947ccac69e9bfc69a5333ce (patch)
tree3a6bb616ff023557010f8f05e671fba6f607ff72 /tmpl/advisory.html
parent472cd881bd9d799ef3680ed0c65a40ca2007ac2b (diff)
downloadmgaadvisories-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.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 394fc7c..1e984c8 100644
--- a/tmpl/advisory.html
+++ b/tmpl/advisory.html
@@ -20,7 +20,7 @@
<br />
[% SET sep = '' %]
- [% IF adv.CVE.list.size != 0 %]
+ [% IF adv.CVE && adv.CVE.list.size != 0 %]
CVE:
[% FOREACH cve IN adv.CVE %]
[% sep %]