summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xslt/DiveLog.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt
index 7d21b10bd..b94e28796 100644
--- a/xslt/DiveLog.xslt
+++ b/xslt/DiveLog.xslt
@@ -128,7 +128,7 @@
</xsl:if>
</cylinder>
- <xsl:if test="@Weight != ''">
+ <xsl:if test="@Weight != '' and @Weight != '0.0'">
<weightsystem>
<xsl:attribute name="weight">
<xsl:call-template name="weightConvert">