ModuleActionController: fix reference, var removed

This commit is contained in:
Thomas Gelf 2014-07-04 12:39:23 +02:00
parent 3cfdf4c977
commit 0d4166b1bd
1 changed files with 1 additions and 1 deletions

View File

@ -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();