Skip to content

Commit c7ff89b

Browse files
Do not continue if a "Rules" setting key is non-unique
1 parent cf2504b commit c7ff89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Engine/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ private void ParseSettingsHashtable(Hashtable settings)
469469
exceptions.Add(new InvalidDataException(string.Format(
470470
Strings.SettingRuleKeyIsNotUniqueIgnoringCase,
471471
rule.Key)));
472-
continue;
472+
// Do not `continue` because even if an element's key is non-unique, that element's value may still be checked.
473473
}
474474

475475
if (rule.Value is null)

0 commit comments

Comments
 (0)