mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
NavigationItem: Return a instance of Url in method getUrl(), really
refs #5600
This commit is contained in:
parent
451a0c91f2
commit
0feaec7af1
@ -446,7 +446,7 @@ class NavigationItem implements IteratorAggregate
|
||||
public function getUrl()
|
||||
{
|
||||
if ($this->url === null && $this->hasChildren()) {
|
||||
return '#';
|
||||
$this->setUrl(Url::fromPath('#'));
|
||||
}
|
||||
|
||||
return $this->url;
|
||||
|
Loading…
x
Reference in New Issue
Block a user