diff --git a/library/Icinga/Web/Controller/ModuleActionController.php b/library/Icinga/Web/Controller/ModuleActionController.php index 0f3f9c16b..89566368e 100644 --- a/library/Icinga/Web/Controller/ModuleActionController.php +++ b/library/Icinga/Web/Controller/ModuleActionController.php @@ -62,7 +62,7 @@ class ModuleActionController extends ActionController $resp = $this->getResponse(); if ($this->isXhr()) { - $resp->setHeader('X-Icinga-Module', $layout->moduleName); + $resp->setHeader('X-Icinga-Module', $this->moduleName); } parent::postDispatch();