diff --git a/PROMS/Volian.Controls.Library/RTBItem.cs b/PROMS/Volian.Controls.Library/RTBItem.cs index b9676e60..cffc4fd4 100644 --- a/PROMS/Volian.Controls.Library/RTBItem.cs +++ b/PROMS/Volian.Controls.Library/RTBItem.cs @@ -801,7 +801,9 @@ namespace Volian.Controls.Library // IF there is a step config remove the change bar override by setting the CBOverride value to null // This fixes a problem reported by Farly where if the change bar or overridden to be off, the next // time a change was made, the change bar remained turned off. - if (sc != null) + // B2017-056 there were duplicate audit records for each step text change, + // only clear the change bar override if it is being used + if (sc != null && sc.Step_CBOverride != null) sc.Step_CBOverride = null; // clear the change bar override MyStepRTB.FindAllLinks(); MyStepRTB.OrigRTF = MyStepRTB.Rtf;