xsl/podcast: fix format selection bug

This commit is contained in:
Astro 2012-11-29 01:11:46 +01:00
parent d771f3ce32
commit e788b525d3
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@
<xsl:choose>
<!-- Gibts ein $format? -->
<xsl:when test="count(alternative[@type=$format]) &gt; 0">
<xsl:apply-templates test="alternative[@type=$format][1]">
<xsl:apply-templates select="alternative[@type=$format]">
<xsl:with-param name="newsfile" select="$newsfile"/>
</xsl:apply-templates>
</xsl:when>