From bdf0ebef507764f833ef1e119e9a65f0fd9b8283 Mon Sep 17 00:00:00 2001 From: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:11:34 +0000 Subject: [PATCH] fix(csi): Fix settings throwing (#3035) fix issue with load cases setting throwing and causing broken UI state --- ConnectorCSI/ConnectorCSIShared/Util/ResultUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConnectorCSI/ConnectorCSIShared/Util/ResultUtils.cs b/ConnectorCSI/ConnectorCSIShared/Util/ResultUtils.cs index 4afae2141d..df3310906b 100644 --- a/ConnectorCSI/ConnectorCSIShared/Util/ResultUtils.cs +++ b/ConnectorCSI/ConnectorCSIShared/Util/ResultUtils.cs @@ -12,7 +12,7 @@ public static List GetNamesOfAllLoadCasesAndCombos(cSapModel sapModel) List names = new(); int numberOfLoadCombinations = 0; - string[] loadCombinationNames = null; + string[] loadCombinationNames = Array.Empty(); sapModel.RespCombo.GetNameList(ref numberOfLoadCombinations, ref loadCombinationNames); names.AddRange(loadCombinationNames);