mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
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…
x
Reference in New Issue
Block a user