Skip to content

Commit ff477c3

Browse files
Update src/Umbraco.Infrastructure/Routing/RedirectTrackingHandler.cs
Co-authored-by: Nikolaj Geisle <[email protected]>
1 parent 95f1ed3 commit ff477c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Infrastructure/Routing/RedirectTrackingHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private void StoreOldRoute(IContent entity, OldRoutesDictionary oldRoutes)
102102

103103
IPublishedContentCache contentCache = publishedSnapshot.Content;
104104
IPublishedContent entityContent = contentCache?.GetById(entity.Id);
105-
if (entityContent == null)
105+
if (entityContent is null)
106106
{
107107
return;
108108
}

0 commit comments

Comments
 (0)