mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
body.phtml: provide a fallback in case no...
...inlineLayout has been given. fixes #3120
This commit is contained in:
parent
7fef9bddde
commit
a352c9daf9
@ -16,7 +16,11 @@ if ($this->layout()->autorefreshInterval) {
|
|||||||
$refresh = ' data-icinga-refresh="' . $this->layout()->autorefreshInterval . '"';
|
$refresh = ' data-icinga-refresh="' . $this->layout()->autorefreshInterval . '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
$inlineLayoutScript = $this->layout()->inlineLayout . '.phtml';
|
if ($this->layout()->inlineLayout) {
|
||||||
|
$inlineLayoutScript = $this->layout()->inlineLayout . '.phtml';
|
||||||
|
} else {
|
||||||
|
$inlineLayoutScript = 'inline.phtml';
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user