[PATCH] Fix missing air temp on divelogs.de export
Miika Turkia
miika.turkia at gmail.com
Mon Feb 17 10:23:03 UTC 2014
Fixes #439
Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
xslt/divelogs-export.xslt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index cbca51d..cfd0f4c 100644
--- a/xslt/divelogs-export.xslt
+++ b/xslt/divelogs-export.xslt
@@ -88,7 +88,7 @@
<xsl:value-of select="substring-before(node()/depth/@mean, ' ')"/>
</MEANDEPTH>
<AIRTEMP>
- <xsl:value-of select="substring-before(divetemperature/@air, ' ')"/>
+ <xsl:value-of select="substring-before(node()/temperature/@air, ' ')"/>
</AIRTEMP>
<WATERTEMPMAXDEPTH>
<xsl:value-of select="substring-before(node()/temperature/@water, ' ')"/>
--
1.8.3.2
More information about the subsurface
mailing list