Fix for sample interval on Divelogs.de export

Logic when to use default sample interval was mixed.

Fixes #657

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-07-27 18:33:28 +03:00 committed by Dirk Hohndel
parent 1863452a25
commit 0b5fe99353

View file

@ -149,7 +149,7 @@
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:choose> <xsl:choose>
<xsl:when test="$manual = 1"> <xsl:when test="$manual = 0">
<xsl:value-of select="$second - $first"/> <xsl:value-of select="$second - $first"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>