Fix detection of numeric field
Discarding header lines was faulty as the test whether dive number was numeric did not work properly. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
14f96fc4de
commit
3b8643af4f
@ -85,7 +85,7 @@
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:if test="$number >= 0">
|
||||
<xsl:if test="number($number) = $number">
|
||||
<dive>
|
||||
<xsl:attribute name="date">
|
||||
<xsl:choose>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user