ModuleActionController: fix reference, var removed

This commit is contained in:
Thomas Gelf 2014-07-04 12:39:23 +02:00
parent 3cfdf4c977
commit 0d4166b1bd

View File

@ -62,7 +62,7 @@ class ModuleActionController extends ActionController
$resp = $this->getResponse(); $resp = $this->getResponse();
if ($this->isXhr()) { if ($this->isXhr()) {
$resp->setHeader('X-Icinga-Module', $layout->moduleName); $resp->setHeader('X-Icinga-Module', $this->moduleName);
} }
parent::postDispatch(); parent::postDispatch();