From 578184f50ff2e52196a1c2d8543b38ae44e04ce1 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Thu, 12 Nov 2015 21:06:44 +0100 Subject: [PATCH] Fixed an audittrail diff bug. The bug caused a YSOD if the diffgram contained a match for a changed attribute being the last node of the diffgram. --- .../Modules/Orchard.AuditTrail/Services/DiffGramAnalyzer.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.AuditTrail/Services/DiffGramAnalyzer.cs b/src/Orchard.Web/Modules/Orchard.AuditTrail/Services/DiffGramAnalyzer.cs index 42c51c62e..d9e4ad708 100644 --- a/src/Orchard.Web/Modules/Orchard.AuditTrail/Services/DiffGramAnalyzer.cs +++ b/src/Orchard.Web/Modules/Orchard.AuditTrail/Services/DiffGramAnalyzer.cs @@ -66,7 +66,6 @@ namespace Orchard.AuditTrail.Services { var originalContent = currentElement.Value; var currentContent = reader.ReadElementContentAsString(); - stack.Pop(); readNext = false; yield return new DiffNode {