From 75e4d4767e2349307ac0b2eb98af1692c9d6c698 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 5 Dec 2012 12:07:02 +0000 Subject: [PATCH] Fixed code to hanlde empty ProcessOnlyInLocation field. --- PROMS/DataLoader/DataLoaderSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/DataLoader/DataLoaderSettings.cs b/PROMS/DataLoader/DataLoaderSettings.cs index 10587b89..e3439654 100644 --- a/PROMS/DataLoader/DataLoaderSettings.cs +++ b/PROMS/DataLoader/DataLoaderSettings.cs @@ -322,7 +322,7 @@ namespace DataLoader } //added by jcb 20121127 //check is ProcedureSetPath contains ProcessOnlyInLocation - if (ProcedureSetPath.StartsWith(ProcessOnlyInLocation) == false) + if (ProcedureSetPath.StartsWith(ProcessOnlyInLocation ?? "") == false) { sb.Append(ErrorPrefix + "Check Process Only In Location value is pointing to similar directory as Procedure Set Path\r\n"); ErrorPrefix = "";