ModuleActionController: fix reference, var removed
This commit is contained in:
parent
3cfdf4c977
commit
0d4166b1bd
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue