diff --git a/MARC.Everest/DataTypes/ON.cs b/MARC.Everest/DataTypes/ON.cs index 75d94c5b..67e001a0 100644 --- a/MARC.Everest/DataTypes/ON.cs +++ b/MARC.Everest/DataTypes/ON.cs @@ -171,7 +171,7 @@ internal static ON Parse(EN name) retVal.ControlActRoot = name.ControlActRoot; retVal.Flavor = name.Flavor; retVal.NullFlavor = name.NullFlavor != null ? name.NullFlavor.Clone() as CS : null; - retVal.UpdateMode = name.NullFlavor != null ? name.UpdateMode.Clone() as CS : null; + retVal.UpdateMode = name.UpdateMode != null ? name.UpdateMode.Clone() as CS : null; retVal.Use = name.Use != null ? new SET>(name.Use) : null; retVal.ValidTimeHigh = name.ValidTimeHigh; retVal.ValidTimeLow = name.ValidTimeLow;