Skip to content

Commit

Permalink
FIX Apply raw2xml before extension hook
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 17, 2024
1 parent 4ca8dfd commit 9f65e4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ORM/Hierarchy/Hierarchy.php
Original file line number Diff line number Diff line change
Expand Up @@ -808,8 +808,9 @@ public function getTreeTitle(): string
{
$owner = $this->getOwner();
$title = $owner->MenuTitle ?: $owner->Title;
$title = Convert::raw2xml($title ?? '');
$owner->extend('updateTreeTitle', $title);
return Convert::raw2xml($title ?? '');
return $title;
}

/**
Expand Down

0 comments on commit 9f65e4c

Please sign in to comment.