Skip to content

Commit

Permalink
Default parameters for config transfer are now checked for %....%
Browse files Browse the repository at this point in the history
  • Loading branch information
Waldemar Porscha committed Nov 26, 2024
1 parent 156eb3e commit 77ac707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExtendedEtsSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public static void GenerateScriptContent(ProcessInclude iInclude, DefineContent
if (lParameterRefs.Count > 1 || (lParameterRefs.Count == 1 && lRefSuffix != 1))
lName = $"{lName}:{lRefSuffix}";
// determine default
if (lDefault.Contains('%'))
if (lDefault.StartsWith('%') && lDefault.EndsWith('%'))
lDefault = null;
else if ("TypeNumber,TypeRestriction".Contains(lTypeName))
{
Expand Down

0 comments on commit 77ac707

Please sign in to comment.