mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +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 originalContent = currentElement.Value;
|
||||||
var currentContent = reader.ReadElementContentAsString();
|
var currentContent = reader.ReadElementContentAsString();
|
||||||
|
|
||||||
stack.Pop();
|
|
||||||
readNext = false;
|
readNext = false;
|
||||||
yield return
|
yield return
|
||||||
new DiffNode {
|
new DiffNode {
|
||||||
|
Reference in New Issue
Block a user