mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
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:
@@ -66,7 +66,6 @@ namespace Orchard.AuditTrail.Services {
|
||||
var originalContent = currentElement.Value;
|
||||
var currentContent = reader.ReadElementContentAsString();
|
||||
|
||||
stack.Pop();
|
||||
readNext = false;
|
||||
yield return
|
||||
new DiffNode {
|
||||
|
Reference in New Issue
Block a user