* attempt fix for #39553

This commit is contained in:
marcoonthegit 2022-02-04 23:44:07 +01:00
parent d5ab80d754
commit 9ced709010

View File

@ -171,7 +171,7 @@ begin
AItem := FIndexSiteMap.Items.NewItem;
AItem.Text := UTF8Trim(AText);
{$IF FPC_FULLVERSION>=30200}
AItem.AddURL(AUrl);
AItem.AddLocal(AUrl);
{$ELSE}
AItem.Local := Trim(AUrl);
AItem.Keyword := UTF8Trim(AText);
@ -205,7 +205,7 @@ var
begin
item := NewItemAtLevel(ALevel);
{$IF FPC_FULLVERSION>=30200}
item.AddURL(AUrl);
Item.AddLocal(AUrl);
{$ELSE}
item.Local := AUrl;
{$ENDIF}