[ENTITY][ActorTag] Fix url in actor tag
This commit is contained in:
parent
26b95fae96
commit
c137a484af
@ -137,7 +137,7 @@ class ActorTag extends Entity
|
|||||||
|
|
||||||
public function getUrl(?Actor $actor = null): string
|
public function getUrl(?Actor $actor = null): string
|
||||||
{
|
{
|
||||||
$params = ['tag' => $this->getCanonical()];
|
$params = ['canon' => $this->getCanonical(), 'tag' => $this->getTag()];
|
||||||
if (!\is_null($actor)) {
|
if (!\is_null($actor)) {
|
||||||
$params['lang'] = $actor->getTopLanguage()->getLocale();
|
$params['lang'] = $actor->getTopLanguage()->getLocale();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user