parent
274a0c8a09
commit
7d167d0191
|
@ -55,7 +55,7 @@ class Action extends NavigationItem
|
||||||
public function getUrl()
|
public function getUrl()
|
||||||
{
|
{
|
||||||
$url = parent::getUrl();
|
$url = parent::getUrl();
|
||||||
if (! $this->resolved) {
|
if (! $this->resolved && $url !== null) {
|
||||||
$this->setUrl(Macro::resolveMacros($url->getAbsoluteUrl(), $this->getObject()));
|
$this->setUrl(Macro::resolveMacros($url->getAbsoluteUrl(), $this->getObject()));
|
||||||
$this->resolved = true;
|
$this->resolved = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue