Action: Return the new url if it has been resolved
This was already part of the 2.0 release, but was working however. Got revealed by a restructuring commit a few weeks ago. fixes #10702
This commit is contained in:
parent
6725d6fa9d
commit
7c6471da86
|
@ -89,10 +89,11 @@ class Action extends NavigationItem
|
|||
if (! $this->resolved && $url !== null) {
|
||||
$this->setUrl(Macro::resolveMacros($url->getAbsoluteUrl(), $this->getObject()));
|
||||
$this->resolved = true;
|
||||
}
|
||||
|
||||
return parent::getUrl();
|
||||
} else {
|
||||
return $url;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
Loading…
Reference in New Issue