diff --git a/library/Icinga/Web/Navigation/Renderer/NavigationItemRenderer.php b/library/Icinga/Web/Navigation/Renderer/NavigationItemRenderer.php index 4c7cc0fa5..0f22de40b 100644 --- a/library/Icinga/Web/Navigation/Renderer/NavigationItemRenderer.php +++ b/library/Icinga/Web/Navigation/Renderer/NavigationItemRenderer.php @@ -237,13 +237,13 @@ class NavigationItemRenderer return ''; } - $actualTarget = $this->getIcingaLinkTarget($target); - if ($actualTarget !== null) { - return ' data-base-target="' . $actualTarget . '"'; + $icingaTarget = $this->getIcingaLinkTarget($target); + if ($icingaTarget !== null) { + return ' data-base-target="' . $icingaTarget . '"'; } - $actualTarget = $this->getHtmlLinkTarget($target); - return ' target="' . ($actualTarget === null ? $this->view()->escape($target) : $actualTarget) . '"'; + $htmlTarget = $this->getHtmlLinkTarget($target); + return ' target="' . ($htmlTarget === null ? $this->view()->escape($target) : $htmlTarget) . '"'; } /**