parent
b01bd74d5c
commit
c1bb17709a
|
@ -102,7 +102,7 @@ class Action extends NavigationItem
|
||||||
public function getUrl()
|
public function getUrl()
|
||||||
{
|
{
|
||||||
$url = parent::getUrl();
|
$url = parent::getUrl();
|
||||||
if (! $this->resolved && $url === null) {
|
if (! $this->resolved && $url === null && $this->rawUrl !== null) {
|
||||||
$this->setUrl(Url::fromPath(Macro::resolveMacros($this->rawUrl, $this->getObject())));
|
$this->setUrl(Url::fromPath(Macro::resolveMacros($this->rawUrl, $this->getObject())));
|
||||||
$this->resolved = true;
|
$this->resolved = true;
|
||||||
return parent::getUrl();
|
return parent::getUrl();
|
||||||
|
|
Loading…
Reference in New Issue