From 7d167d0191c158174d42070907b7e62cd38936ea Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 7 Sep 2015 12:00:35 +0200 Subject: [PATCH] Action: Do not fail if no url is set refs #5600 --- modules/monitoring/library/Monitoring/Web/Navigation/Action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Web/Navigation/Action.php b/modules/monitoring/library/Monitoring/Web/Navigation/Action.php index 46eb51145..59de17c29 100644 --- a/modules/monitoring/library/Monitoring/Web/Navigation/Action.php +++ b/modules/monitoring/library/Monitoring/Web/Navigation/Action.php @@ -55,7 +55,7 @@ class Action extends NavigationItem public function getUrl() { $url = parent::getUrl(); - if (! $this->resolved) { + if (! $this->resolved && $url !== null) { $this->setUrl(Macro::resolveMacros($url->getAbsoluteUrl(), $this->getObject())); $this->resolved = true; }