diff options
-rw-r--r-- | xslt/udcf.xslt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/udcf.xslt b/xslt/udcf.xslt index 9f617bba2..b39d0267a 100644 --- a/xslt/udcf.xslt +++ b/xslt/udcf.xslt @@ -33,7 +33,7 @@ <xsl:template match="DIVE|dive"> <xsl:variable name="units"> <xsl:choose> - <xsl:when test="//units|//UNITS = 'imperial'"> + <xsl:when test="translate(//units|//UNITS, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'imperial'"> <xsl:value-of select="'Imperial'"/> </xsl:when> <xsl:otherwise> |