From f22527fdaf0d9e5dd2ad75671106a1327f801b95 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 10 Mar 2013 21:32:10 +0200 Subject: Fix XSLT when no weight system is given Summing up weights ended only when there was one parameter left. With no parameters we ended up in an infinite loop. Now we end also in case of no parameters. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/commonTemplates.xsl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xslt') diff --git a/xslt/commonTemplates.xsl b/xslt/commonTemplates.xsl index cd4ee993e..ba649970a 100644 --- a/xslt/commonTemplates.xsl +++ b/xslt/commonTemplates.xsl @@ -112,9 +112,16 @@ + + + + + + + -- cgit v1.2.3-70-g09d2