diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs index a4a9c53c..f8153e6f 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs @@ -849,6 +849,9 @@ namespace VEPROMS.CSLA.Library tb.Append("procedure Step"); tb.ResetPrefix(" "); // just setting = to a space wasn't resetting prefix. } + string tmpStr = tb.ToString(); + if (tmpStr.ToUpper().EndsWith(", STEP ") && (tb.Prefix.ToUpper().EndsWith(", STEP "))) + tb.Remove(tb.Length - 7, 7); // 7 is length of ", Step " tb.AppendPrefix(); } else if (tb._TranType == 4 && tb._ToItem.MoreThanOneStepSection())