diff --git a/application/layouts/scripts/body.phtml b/application/layouts/scripts/body.phtml index cc561f2b4..2464db4a2 100644 --- a/application/layouts/scripts/body.phtml +++ b/application/layouts/scripts/body.phtml @@ -16,7 +16,11 @@ if ($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'; +} ?>