diff options
Diffstat (limited to 'xslt/uddf-export.xslt')
-rw-r--r-- | xslt/uddf-export.xslt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index 8a24f0ebe..9b33149d4 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -583,7 +583,9 @@ </visibility> <equipmentused> <leadquantity> - <xsl:value-of select="sum(xt:node-set($trimmedweightlist))"/> + <xsl:if test="sum(xt:node-set($trimmedweightlist)) >= 0"> + <xsl:value-of select="sum(xt:node-set($trimmedweightlist))"/> + </xsl:if> </leadquantity> </equipmentused> |