Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit 5fd7be4

Browse files
committed
Swapped a literal equals to InvariantEquals (to handle case-sensitivity)
1 parent 120cb13 commit 5fd7be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Our.Umbraco.DocTypeGridEditor/Helpers/DocTypeGridEditorHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private static IPublishedContent ConvertValue(string id, string contentTypeAlias
7878
/* Now that we have the DB stored value, we actually need to then convert it into it's
7979
* XML serialized state as expected by the published property by calling ConvertDbToString
8080
*/
81-
var propType2 = contentType.CompositionPropertyTypes.Single(x => x.Alias == propType.PropertyTypeAlias);
81+
var propType2 = contentType.CompositionPropertyTypes.Single(x => x.Alias.InvariantEquals(propType.PropertyTypeAlias));
8282

8383
Property prop2 = null;
8484
try

0 commit comments

Comments
 (0)