diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs index e5b7f956..f19d491a 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ContentExt.cs @@ -613,7 +613,8 @@ namespace VEPROMS.CSLA.Library return retval; } string newvalue = value; - newvalue = newvalue.Replace("{", @"\{").Replace("}", @"\}"); + // B2023-108: Added check for null reference + if (newvalue != null) newvalue = newvalue.Replace("{", @"\{").Replace("}", @"\}"); string findLink = @""; MatchCollection ms = Regex.Matches(Text, findLink); //string lookFor = string.Format(@"", rousg.ROUsageID);