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.
This commit is contained in:
Sipke Schoorstra
2015-11-12 21:06:44 +01:00
parent 978408765b
commit 578184f50f

View File

@@ -66,7 +66,6 @@ namespace Orchard.AuditTrail.Services {
var originalContent = currentElement.Value;
var currentContent = reader.ReadElementContentAsString();
stack.Pop();
readNext = false;
yield return
new DiffNode {