Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
robmaas committed Jul 25, 2024
1 parent 915fed3 commit 701371f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Glass.Mapper.Sc/SitecoreVersionAbstractions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static string GetItemUrl(Item item, UrlOptions urlOptions)
#if SC104
if (item?.Paths == null) return string.Empty;
var paths = item.Paths.GetPathParts(urlOptions?.UseDisplayName == true ? ItemPathType.DisplayName : ItemPathType.Name);
if(paths == null || paths.Length == 0)
if (paths == null || paths.Length == 0)
{
return string.Empty;
}
Expand Down

0 comments on commit 701371f

Please sign in to comment.