aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisory_item.rss
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_item.rss
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_item.rss')
-rw-r--r--tmpl/advisory_item.rss2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl/advisory_item.rss b/tmpl/advisory_item.rss
index 9edfe05..73d9a7b 100644
--- a/tmpl/advisory_item.rss
+++ b/tmpl/advisory_item.rss
@@ -19,7 +19,7 @@
&lt;br /&gt;
[% SET sep = '' %]
- [% IF advisory.CVE.list.size != 0 %]
+ [% IF advisory.CVE && advisory.CVE.list.size != 0 %]
CVE:
[% FOREACH cve IN advisory.CVE %]
[% sep %]