From 0d4166b1bdffe1fff465a9a16ca8d3d463a009e6 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 4 Jul 2014 12:39:23 +0200 Subject: [PATCH] ModuleActionController: fix reference, var removed --- library/Icinga/Web/Controller/ModuleActionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();