Skip to content

Commit

Permalink
Make sure the unverioned statistics-related fields are not updated wh…
Browse files Browse the repository at this point in the history
…en removing links.
  • Loading branch information
MariiaHubenko committed May 16, 2018
1 parent 47d9f60 commit 8ff42a5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ private static void RemoveLink([NotNull] Item version, [NotNull] ItemLink itemLi
{
version.Editing.BeginEdit();
customField.RemoveLink(itemLink);
version.Editing.EndEdit();

// #221558: make sure the unverioned statistics-related fields won't be updated.
version.Editing.EndEdit(false, false);
}
}

Expand Down

0 comments on commit 8ff42a5

Please sign in to comment.