[ENTITY][ActorTag] Fix url in actor tag

This commit is contained in:
2021-12-09 16:34:07 +00:00
parent 26b95fae96
commit c137a484af

View File

@@ -137,7 +137,7 @@ class ActorTag extends Entity
public function getUrl(?Actor $actor = null): string
{
$params = ['tag' => $this->getCanonical()];
$params = ['canon' => $this->getCanonical(), 'tag' => $this->getTag()];
if (!\is_null($actor)) {
$params['lang'] = $actor->getTopLanguage()->getLocale();
}