summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xslt/divelogs-export.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index bf12950e0..eaa1c510c 100644
--- a/xslt/divelogs-export.xslt
+++ b/xslt/divelogs-export.xslt
@@ -247,10 +247,10 @@
<xsl:value-of select="substring-before(node()/depth/@mean, ' ')"/>
</MEANDEPTH>
<AIRTEMP>
- <xsl:value-of select="substring-before(node()/temperature/@air, ' ')"/>
+ <xsl:value-of select="substring-before(node()/temperature/@air|divetemperature/@air, ' ')"/>
</AIRTEMP>
<WATERTEMPMAXDEPTH>
- <xsl:value-of select="substring-before(node()/temperature/@water, ' ')"/>
+ <xsl:value-of select="substring-before(node()/temperature/@water|divetemperature/@water, ' ')"/>
</WATERTEMPMAXDEPTH>
<xsl:variable name="manual">
<xsl:choose>