Skip to content

Commit 4ce89ea

Browse files
authored
Merge pull request #214 from umbraco/bugfix/converter-extensions-null-reference
Fix NULL reference
2 parents 9fd5a65 + 71b6f79 commit 4ce89ea

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Umbraco.Cms.Integrations.Search.Algolia/Extensions/ConverterExtensions.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ public static bool TryGetPropertyIndexValue(this IProperty property, out string
1313
{
1414
success = false;
1515
}
16-
17-
value = property.GetValue().ToString();
16+
else
17+
{
18+
value = property.GetValue().ToString();
19+
}
1820

1921
return success;
2022
}

src/Umbraco.Cms.Integrations.Search.Algolia/Umbraco.Cms.Integrations.Search.Algolia.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PackageIconUrl></PackageIconUrl>
1414
<PackageProjectUrl>https://github.com/umbraco/Umbraco.Cms.Integrations/tree/main/src/Umbraco.Cms.Integrations.Search.Algolia</PackageProjectUrl>
1515
<RepositoryUrl>https://github.com/umbraco/Umbraco.Cms.Integrations</RepositoryUrl>
16-
<Version>2.2.1</Version>
16+
<Version>2.2.2</Version>
1717
<Authors>Umbraco HQ</Authors>
1818
<Company>Umbraco</Company>
1919
<PackageTags>Umbraco;Umbraco-Marketplace</PackageTags>

0 commit comments

Comments
 (0)