mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
parent
453e0af987
commit
cc403806f7
@ -328,9 +328,13 @@ EOT;
|
|||||||
$tab = $this->get($this->getActiveName());
|
$tab = $this->get($this->getActiveName());
|
||||||
|
|
||||||
if ($tab !== null) {
|
if ($tab !== null) {
|
||||||
$caption = $this->view()->escape(
|
$label = $this->view()->escape(
|
||||||
$tab->getLabel()
|
$tab->getLabel()
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! empty($label)) {
|
||||||
|
$caption = $label;
|
||||||
} else {
|
} else {
|
||||||
$caption = t('Content');
|
$caption = t('Content');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user