summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--reports/xsl-transforms/overview-stats-email.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/reports/xsl-transforms/overview-stats-email.xsl b/reports/xsl-transforms/overview-stats-email.xsl
index 9e8a47324..a134d8048 100644
--- a/reports/xsl-transforms/overview-stats-email.xsl
+++ b/reports/xsl-transforms/overview-stats-email.xsl
@@ -4,7 +4,7 @@
<xsl:output method="text" indent="no" media-type="text/plain" />
<xsl:template match="Report">Subject: BCFG Nightly Statistics<xsl:text>
</xsl:text>Report Run @ <xsl:value-of select="@time" />
-<xsl:variable name="cleannodes" select="/Report/Node[count(Statistics/Good)>0]"/>
+<xsl:variable name="cleannodes" select="/Report/Node[Statistics/@state='clean']"/>
<xsl:variable name="dirtynodes" select="/Report/Node[count(Statistics/Bad)>0]"/>
<xsl:variable name="modifiednodes" select="/Report/Node[count(Statistics/Modified)>0]"/>
<xsl:variable name="stalenodes" select="/Report/Node[count(Statistics/Stale)>0]"/>