From dad0195074309c9bec3854c3eeed4f0adf126ba4 Mon Sep 17 00:00:00 2001 From: jensp Date: Tue, 31 May 2016 09:26:29 +0000 Subject: [PATCH] A bugfix for Foundry regarding the with-colorset functionality. If set on an element which is used on the welcome page (for category is selected) the get-colorset function did cause an error because it returned an empty sequence which is not allowed. Now get-colorset will return colorset-0 for the root category. git-svn-id: https://svn.libreccm.org/ccm/trunk@4121 8810af33-2d31-482b-a856-94f89814c4df --- .../foundry/foundry/lib/template-parser.xsl | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/ccm-core/web/themes/foundry/foundry/lib/template-parser.xsl b/ccm-core/web/themes/foundry/foundry/lib/template-parser.xsl index 6812e2739..343c4cc06 100644 --- a/ccm-core/web/themes/foundry/foundry/lib/template-parser.xsl +++ b/ccm-core/web/themes/foundry/foundry/lib/template-parser.xsl @@ -357,11 +357,18 @@ - - - - - + + + + + + + + + + + +