Don't send the X-Icinga-Module header more than once

fixes #9349
This commit is contained in:
Eric Lippmann 2015-07-30 09:28:05 +02:00
parent 20aa17c831
commit 9f0e48a0a1

View File

@ -77,6 +77,6 @@ class ModuleActionController extends ActionController
public function postDispatchXhr() public function postDispatchXhr()
{ {
parent::postDispatchXhr(); parent::postDispatchXhr();
$this->getResponse()->setHeader('X-Icinga-Module', $this->moduleName); $this->getResponse()->setHeader('X-Icinga-Module', $this->moduleName, true);
} }
} }