mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
NavigationItemRenderer::renderTargetAttribute(): don't use the same name for two different variables
refs #10330
This commit is contained in:
parent
a9b818d52c
commit
f6cd4794ee
@ -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) . '"';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user