From 7485dbbbc0ed7e543640fa17b477b4d99a5b373a Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 12 Jun 2013 22:53:03 +0000 Subject: advisory.{html,txt}: don't add a CVE line when there is no CVE --- tmpl/advisory.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmpl/advisory.html') 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 @@
[% SET sep = '' %] - [% IF adv.CVE %] + [% IF adv.CVE.list.size != 0 %] CVE: [% FOREACH cve IN adv.CVE %] [% sep %] -- cgit v1.2.1