diff --git a/PROMS/VEPROMS.CSLA.Library/Generated/ContentInfo.cs b/PROMS/VEPROMS.CSLA.Library/Generated/ContentInfo.cs index 574c4d24..d5be0ca6 100644 --- a/PROMS/VEPROMS.CSLA.Library/Generated/ContentInfo.cs +++ b/PROMS/VEPROMS.CSLA.Library/Generated/ContentInfo.cs @@ -637,6 +637,7 @@ namespace VEPROMS.CSLA.Library if (ed.Type != 0) { ItemInfo ii = ItemInfo.Get(ed.ItemID); + if (ii == null) continue; //B2020-141 the itemID is not there because the linked Enhanced step was delete when EOP step was deleted // C2019-045: For enhanced procedures, allow modification of number & text. A setting on the docversion (set from Properties dialog) defines whether text // can be modified if it is an enhanced item. If it can be modified, don't do the automatic update if the 'source' text is changed. bool doEnhancedMods = ii.EnhAllowMod();