summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt')
-rw-r--r--xslt/normalize.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/normalize.xsl b/xslt/normalize.xsl
index 7de5a90f..1abe4e05 100644
--- a/xslt/normalize.xsl
+++ b/xslt/normalize.xsl
@@ -64,7 +64,7 @@ If You do not accept these Terms, then You must not continue to use this Metadat
<md:Extensions><xsl:call-template name="add-swamid-rpi"/></md:Extensions>
</xsl:if>
<xsl:apply-templates select="text()|comment()|md:Extensions|md:RoleDescriptor|md:IDPSSODescriptor|md:SPSSODescriptor|md:AuthnAuthorityDescriptor|md:AttributeAuthorityDescriptor|md:PDPDescriptor|md:AffiliationDescriptor"/>
- <xsl:if test="not(md:Organization)">
+ <xsl:if test="$org='true' and not(md:Organization)">
<xsl:apply-templates select="document($orginfo)"/>
</xsl:if>
<xsl:if test="$defaultContact='true' and not(md:ContactPerson)">